Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x68k/dev Fix build botched in previous.



details:   https://anonhg.NetBSD.org/src/rev/6081825e22f0
branches:  trunk
changeset: 326502:6081825e22f0
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Jan 31 18:42:45 2014 +0000

description:
Fix build botched in previous.

Christos, please at least compile before commit per the guideline.

diffstat:

 sys/arch/x68k/dev/grf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 678ef3715bc3 -r 6081825e22f0 sys/arch/x68k/dev/grf.c
--- a/sys/arch/x68k/dev/grf.c   Fri Jan 31 18:24:03 2014 +0000
+++ b/sys/arch/x68k/dev/grf.c   Fri Jan 31 18:42:45 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: grf.c,v 1.41 2014/01/26 00:09:46 christos Exp $        */
+/*     $NetBSD: grf.c,v 1.42 2014/01/31 18:42:45 tsutsui Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: grf.c,v 1.41 2014/01/26 00:09:46 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: grf.c,v 1.42 2014/01/31 18:42:45 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -271,7 +271,7 @@
                flags |= MAP_FIXED;
        else
                *addrp = (void *)p->p_emul->e_vm_default_addr(p, 
-                   p->p_vmspace->vm_daddr, len);
+                   (vaddr_t)p->p_vmspace->vm_daddr, len);
 
        vn.v_type = VCHR;                       /* XXX */
        vn.v_rdev = dev;                        /* XXX */



Home | Main Index | Thread Index | Old Index