diff options
-rw-r--r-- | sys/dev/amr/amr.c | 4 | ||||
-rw-r--r-- | sys/dev/mlx/mlx.c | 4 |
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, |