Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Use PRId64 for daddr_t in a DPRINTF.
details: https://anonhg.NetBSD.org/src/rev/35012176ba57
branches: trunk
changeset: 542371:35012176ba57
user: toshii <toshii%NetBSD.org@localhost>
date: Mon Jan 27 13:06:38 2003 +0000
description:
Use PRId64 for daddr_t in a DPRINTF.
diffstat:
sys/dev/usb/umass_isdata.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r c229501c068d -r 35012176ba57 sys/dev/usb/umass_isdata.c
--- a/sys/dev/usb/umass_isdata.c Mon Jan 27 12:54:08 2003 +0000
+++ b/sys/dev/usb/umass_isdata.c Mon Jan 27 13:06:38 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umass_isdata.c,v 1.4 2003/01/01 00:10:26 thorpej Exp $ */
+/* $NetBSD: umass_isdata.c,v 1.5 2003/01/27 13:06:38 toshii Exp $ */
/*
* TODO:
@@ -44,7 +44,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass_isdata.c,v 1.4 2003/01/01 00:10:26 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass_isdata.c,v 1.5 2003/01/27 13:06:38 toshii Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -355,7 +355,8 @@
} else {
ata.ac_command = WDCC_WRITE;
}
- DPRINTF(("%s: bno=%d LBA=%d cyl=%d head=%d sect=%d count=%d multi=%d\n",
+ DPRINTF(("%s: bno=%" PRId64 " LBA=%d cyl=%d head=%d sect=%d "
+ "count=%d multi=%d\n",
__func__, ata_bio->blkno,
(ata_bio->flags & ATA_LBA) != 0, cyl, head, sect,
ata.ac_sector_count, ata_bio->multi));
Home |
Main Index |
Thread Index |
Old Index