Module Name: src
Committed By: thorpej
Date: Wed Aug 26 00:20:20 UTC 2009
Modified Files:
src/sys/arch/cesfic/cesfic: machdep.c
Log Message:
Make this compile again (64-bit dev_t printf format).
To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/cesfic/cesfic/machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/cesfic/cesfic/machdep.c
diff -u src/sys/arch/cesfic/cesfic/machdep.c:1.50 src/sys/arch/cesfic/cesfic/machdep.c:1.51
--- src/sys/arch/cesfic/cesfic/machdep.c:1.50 Sat Aug 15 23:44:58 2009
+++ src/sys/arch/cesfic/cesfic/machdep.c Wed Aug 26 00:20:20 2009
@@ -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;