mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Fixed printf format errors in previous commit. %llu is no more suitable
than %u for printing signed 64-bit types. It fails on different machines, and has the wrong signdness. Fixed old printf format error on the same line. %u is not suitable for printing 32-bit types on all machines.
This commit is contained in:
parent
8321855307
commit
1b7fb13116
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92610
@ -813,8 +813,9 @@ 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 (%llu,%d > %u)\n",
|
||||
bio->bio_pblkno, blkcount, sc->amr_drive[driveno].al_size);
|
||||
device_printf(sc->amr_dev, "I/O beyond end of unit (%lld,%d > %lu)\n",
|
||||
(long long)bio->bio_pblkno, blkcount,
|
||||
(u_long)sc->amr_drive[driveno].al_size);
|
||||
|
||||
out:
|
||||
if (error != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user