summaryrefslogtreecommitdiffstats
path: root/sys/dev/mlx/mlx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mlx/mlx.c')
-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 fe2e92a..aecd9dc 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,
OpenPOWER on IntegriCloud