Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/vinum fix printf formats to match with sys/buf.h rev...
details: https://anonhg.NetBSD.org/src/rev/a6344e137b73
branches: trunk
changeset: 570050:a6344e137b73
user: yamt <yamt%NetBSD.org@localhost>
date: Sun Sep 19 12:22:22 2004 +0000
description:
fix printf formats to match with sys/buf.h rev.1.75.
PR/26994 from Andreas Wiese.
diffstat:
sys/dev/vinum/vinumdaemon.c | 4 ++--
sys/dev/vinum/vinuminterrupt.c | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (66 lines):
diff -r 0f1263602f79 -r a6344e137b73 sys/dev/vinum/vinumdaemon.c
--- a/sys/dev/vinum/vinumdaemon.c Sun Sep 19 11:58:29 2004 +0000
+++ b/sys/dev/vinum/vinumdaemon.c Sun Sep 19 12:22:22 2004 +0000
@@ -34,7 +34,7 @@
* otherwise) arising in any way out of the use of this software, even if
* advised of the possibility of such damage.
*
- * $Id: vinumdaemon.c,v 1.2 2003/11/25 20:11:59 jdolecek Exp $
+ * $Id: vinumdaemon.c,v 1.3 2004/09/19 12:22:22 yamt Exp $
* $FreeBSD$
*/
@@ -104,7 +104,7 @@
struct request *rq = request->info.rq;
log(LOG_WARNING,
- "vinum: recovering I/O request: %p\n%s dev %d.%d, offset 0x%llx, length %ld\n",
+ "vinum: recovering I/O request: %p\n%s dev %d.%d, offset 0x%llx, length %d\n",
rq,
rq->bp->b_flags & B_READ ? "Read" : "Write",
major(rq->bp->b_dev),
diff -r 0f1263602f79 -r a6344e137b73 sys/dev/vinum/vinuminterrupt.c
--- a/sys/dev/vinum/vinuminterrupt.c Sun Sep 19 11:58:29 2004 +0000
+++ b/sys/dev/vinum/vinuminterrupt.c Sun Sep 19 12:22:22 2004 +0000
@@ -39,7 +39,7 @@
* otherwise) arising in any way out of the use of this software, even if
* advised of the possibility of such damage.
*
- * $Id: vinuminterrupt.c,v 1.2 2003/11/25 20:11:59 jdolecek Exp $
+ * $Id: vinuminterrupt.c,v 1.3 2004/09/19 12:22:22 yamt Exp $
* $FreeBSD$
*/
@@ -100,7 +100,7 @@
set_sd_state(rqe->sdno, sd_crashed, setstate_force); /* subdisk is crashed */
}
log(LOG_ERR,
- "%s:%s read error, block %lld for %ld bytes\n",
+ "%s:%s read error, block %lld for %d bytes\n",
gravity,
sd->name,
(long long int) bp->b_blkno,
@@ -111,20 +111,20 @@
set_sd_state(rqe->sdno, sd_stale, setstate_force); /* subdisk is stale */
}
log(LOG_ERR,
- "%s:%s write error, block %lld for %ld bytes\n",
+ "%s:%s write error, block %lld for %d bytes\n",
gravity,
sd->name,
(long long int)bp->b_blkno,
bp->b_bcount);
}
log(LOG_ERR,
- "%s: user buffer block %lld for %ld bytes\n",
+ "%s: user buffer block %lld for %d bytes\n",
sd->name,
(long long int)ubp->b_blkno,
ubp->b_bcount);
if (rq->error == ENXIO) { /* the drive's down too */
log(LOG_ERR,
- "%s: fatal drive I/O error, block %lld for %ld bytes\n",
+ "%s: fatal drive I/O error, block %lld for %d bytes\n",
DRIVE[rqe->driveno].label.name,
(long long int)bp->b_blkno,
bp->b_bcount);
Home |
Main Index |
Thread Index |
Old Index