summaryrefslogtreecommitdiffstats
path: root/sys/dev/mlx/mlx.c
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/mlx/mlx.c
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/mlx/mlx.c')
-rw-r--r--sys/dev/mlx/mlx.c4
1 files changed, 2 insertions, 2 deletions
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