Formats that print the block number need to be changed from %u to

%llu due to recent changes in bio_pblkno's type.
This commit is contained in:
Warner Losh 2002-03-18 20:50:04 +00:00
parent c3123ab6bf
commit 8321855307
2 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -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,