Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/isa Fix further printf format warnings for DEBUG, in...
details: https://anonhg.NetBSD.org/src/rev/a7163ec01c03
branches: trunk
changeset: 542289:a7163ec01c03
user: kleink <kleink%NetBSD.org@localhost>
date: Sat Jan 25 23:18:46 2003 +0000
description:
Fix further printf format warnings for DEBUG, in the wake of daddr_t
having changed.
diffstat:
sys/dev/isa/fd.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 96e0618e0faa -r a7163ec01c03 sys/dev/isa/fd.c
--- a/sys/dev/isa/fd.c Sat Jan 25 23:17:38 2003 +0000
+++ b/sys/dev/isa/fd.c Sat Jan 25 23:18:46 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fd.c,v 1.35 2003/01/25 18:12:31 tron Exp $ */
+/* $NetBSD: fd.c,v 1.36 2003/01/25 23:18:46 kleink Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -92,7 +92,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.35 2003/01/25 18:12:31 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.36 2003/01/25 23:18:46 kleink Exp $");
#include "rnd.h"
#include "opt_ddb.h"
@@ -1504,7 +1504,8 @@
bp->b_data = (caddr_t)finfo;
#ifdef DEBUG
- printf("fdformat: blkno %x count %lx\n", bp->b_blkno, bp->b_bcount);
+ printf("fdformat: blkno %" PRIx64 " count %lx\n",
+ bp->b_blkno, bp->b_bcount);
#endif
/* now do the format */
Home |
Main Index |
Thread Index |
Old Index