summaryrefslogtreecommitdiffstats
path: root/sys/dev/amr
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-18 20:50:04 +0000
committerimp <imp@FreeBSD.org>2002-03-18 20:50:04 +0000
commit7b3b08fd9f5f9084394958d1ed1ce5b331dacffe (patch)
treeacb4d699e1e767a9f6a9158424ba47cf32c2de85 /sys/dev/amr
parent3b5e42c16dfd0105cd2a678258f9cb49d6479393 (diff)
downloadFreeBSD-src-7b3b08fd9f5f9084394958d1ed1ce5b331dacffe.zip
FreeBSD-src-7b3b08fd9f5f9084394958d1ed1ce5b331dacffe.tar.gz
Formats that print the block number need to be changed from %u to
%llu due to recent changes in bio_pblkno's type.
Diffstat (limited to 'sys/dev/amr')
-rw-r--r--sys/dev/amr/amr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/amr/amr.c b/sys/dev/amr/amr.c
index e8308c6..a8fbd4f 100644
--- a/sys/dev/amr/amr.c
+++ b/sys/dev/amr/amr.c
@@ -813,8 +813,8 @@ amr_bio_command(struct amr_softc *sc, struct amr_command **acp)
/* we fill in the s/g related data when the command is mapped */
if ((bio->bio_pblkno + blkcount) > sc->amr_drive[driveno].al_size)
- device_printf(sc->amr_dev, "I/O beyond end of unit (%u,%d > %u)\n",
- bio->bio_pblkno, blkcount, sc->amr_drive[driveno].al_size);
+ device_printf(sc->amr_dev, "I/O beyond end of unit (%llu,%d > %u)\n",
+ bio->bio_pblkno, blkcount, sc->amr_drive[driveno].al_size);
out:
if (error != 0) {
OpenPOWER on IntegriCloud