Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/cesfic/cesfic Make this compile again (64-bit dev_t...



details:   https://anonhg.NetBSD.org/src/rev/10f863804a63
branches:  trunk
changeset: 746974:10f863804a63
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Aug 26 00:20:20 2009 +0000

description:
Make this compile again (64-bit dev_t printf format).

diffstat:

 sys/arch/cesfic/cesfic/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a6e821c1e638 -r 10f863804a63 sys/arch/cesfic/cesfic/machdep.c
--- a/sys/arch/cesfic/cesfic/machdep.c  Tue Aug 25 17:02:42 2009 +0000
+++ b/sys/arch/cesfic/cesfic/machdep.c  Wed Aug 26 00:20:20 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.50 2009/08/15 23:44:58 matt Exp $        */
+/*     $NetBSD: machdep.c,v 1.51 2009/08/26 00:20:20 thorpej Exp $     */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.50 2009/08/15 23:44:58 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.51 2009/08/26 00:20:20 thorpej Exp $");
 
 #include "opt_bufcache.h"
 #include "opt_ddb.h"
@@ -531,7 +531,7 @@
        dump = bdev->d_dump;
        blkno = dumplo;
 
-       printf("\ndumping to dev 0x%x, offset %ld\n", dumpdev, dumplo);
+       printf("\ndumping to dev %"PRIx64", offset %ld\n", dumpdev, dumplo);
 
        printf("dump ");
        maddr = lowram;



Home | Main Index | Thread Index | Old Index