diff options
author | iedowse <iedowse@FreeBSD.org> | 2002-07-07 12:30:20 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2002-07-07 12:30:20 +0000 |
commit | fa055be97453e66ac5e4b7139cfe4810e3efc8a9 (patch) | |
tree | f4ff3923ca70570634eb48b6db2e660615a503e8 /sbin/dump/traverse.c | |
parent | 4c9a1c63b41e96766db2828df5240a2b95b970f1 (diff) | |
download | FreeBSD-src-fa055be97453e66ac5e4b7139cfe4810e3efc8a9.zip FreeBSD-src-fa055be97453e66ac5e4b7139cfe4810e3efc8a9.tar.gz |
Fix some printf format errors.
Submitted by: Don Lewis <dl-freebsd@catspoiler.org>
Diffstat (limited to 'sbin/dump/traverse.c')
-rw-r--r-- | sbin/dump/traverse.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/dump/traverse.c b/sbin/dump/traverse.c index e5842b8..5480663 100644 --- a/sbin/dump/traverse.c +++ b/sbin/dump/traverse.c @@ -705,13 +705,13 @@ loop: goto loop; } if (cnt == -1) - msg("read error from %s: %s: [block %d]: count=%d\n", + msg("read error from %s: %s: [block %qd]: count=%d\n", disk, strerror(errno), blkno, size); else - msg("short read error from %s: [block %d]: count=%d, got=%d\n", + msg("short read error from %s: [block %qd]: count=%d, got=%d\n", disk, blkno, size, cnt); if (++breaderrors > BREADEMAX) { - msg("More than %d block read errors from %d\n", + msg("More than %d block read errors from %s\n", BREADEMAX, disk); broadcast("DUMP IS AILING!\n"); msg("This is an unrecoverable error.\n"); @@ -730,11 +730,11 @@ loop: ((off_t)blkno << dev_bshift))) == dev_bsize) continue; if (cnt == -1) { - msg("read error from %s: %s: [sector %d]: count=%d\n", + msg("read error from %s: %s: [sector %qd]: count=%d\n", disk, strerror(errno), blkno, dev_bsize); continue; } - msg("short read error from %s: [sector %d]: count=%d, got=%d\n", + msg("short read error from %s: [sector %qd]: count=%d, got=%d\n", disk, blkno, dev_bsize, cnt); } } |