summaryrefslogtreecommitdiffstats
path: root/sys/dev
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
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')
-rw-r--r--sys/dev/amr/amr.c4
-rw-r--r--sys/dev/mlx/mlx.c4
2 files changed, 4 insertions, 4 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) {
diff --git a/sys/dev/mlx/mlx.c b/sys/dev/mlx/mlx.c
index 2083282..fe2e92a 100644
--- a/sys/dev/mlx/mlx.c
+++ b/sys/dev/mlx/mlx.c
@@ -1777,8 +1777,8 @@ mlx_startio(struct mlx_softc *sc)
blkcount = (MLX_BIO_LENGTH(bp) + MLX_BLKSIZE - 1) / MLX_BLKSIZE;
if ((MLX_BIO_LBA(bp) + blkcount) > sc->mlx_sysdrive[driveno].ms_size)
- device_printf(sc->mlx_dev, "I/O beyond end of unit (%u,%d > %u)\n",
- MLX_BIO_LBA(bp), blkcount, sc->mlx_sysdrive[driveno].ms_size);
+ device_printf(sc->mlx_dev, "I/O beyond end of unit (%llu,%d > %u)\n",
+ MLX_BIO_LBA(bp), blkcount, sc->mlx_sysdrive[driveno].ms_size);
/*
* Build the I/O command. Note that the SG list type bits are set to zero,
OpenPOWER on IntegriCloud