summaryrefslogtreecommitdiff
path: root/sys/dev/mlx
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2002-03-18 23:38:16 +0000
committerBruce Evans <bde@FreeBSD.org>2002-03-18 23:38:16 +0000
commit07e929da1cf78b04d483a92f0662354129f291d2 (patch)
tree9e6984d2e76a1b575c4d7e21812c7c713e80e976 /sys/dev/mlx
parent3b67680b63676e70b6bacb18d0fd76be6584ab5f (diff)
Notes
Diffstat (limited to 'sys/dev/mlx')
-rw-r--r--sys/dev/mlx/mlx.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/mlx/mlx.c b/sys/dev/mlx/mlx.c
index fe2e92a71418..aecd9dc34b80 100644
--- a/sys/dev/mlx/mlx.c
+++ b/sys/dev/mlx/mlx.c
@@ -1777,8 +1777,10 @@ 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 (%llu,%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 (%lld,%d > %lu)\n",
+ (long long)MLX_BIO_LBA(bp), blkcount,
+ (u_long)sc->mlx_sysdrive[driveno].ms_size);
/*
* Build the I/O command. Note that the SG list type bits are set to zero,