diff options
author | bde <bde@FreeBSD.org> | 2002-05-25 11:18:03 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-05-25 11:18:03 +0000 |
commit | 9b3a249b6b3fa995e74685469323abc82a4fe709 (patch) | |
tree | fbf20da1fb26fed2cfde064298c4e981ca36afcf /sys/dev/ata | |
parent | 4013a9be11403088c964fa7da480002933c4b43c (diff) | |
download | FreeBSD-src-9b3a249b6b3fa995e74685469323abc82a4fe709.zip FreeBSD-src-9b3a249b6b3fa995e74685469323abc82a4fe709.tar.gz |
Fixed printf format errors which apparently crept in while -Wformat was
disabled for gcc-3.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r-- | sys/dev/ata/atapi-fd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-fd.c b/sys/dev/ata/atapi-fd.c index b4f2cdb..688a8e1 100644 --- a/sys/dev/ata/atapi-fd.c +++ b/sys/dev/ata/atapi-fd.c @@ -188,7 +188,7 @@ afd_describe(struct afd_softc *fdp) fdp->cap.cylinders * fdp->cap.heads * fdp->cap.sectors, fdp->cap.cylinders, fdp->cap.heads, fdp->cap.sectors, fdp->cap.sector_size); - ata_prtdev(fdp->device, "%dKB/s,", fdp->lun, fdp->cap.transfer_rate/8); + ata_prtdev(fdp->device, "%dKB/s,", fdp->cap.transfer_rate / 8); if (fdp->transfersize) printf(" transfer limit %d blks,", fdp->transfersize); printf(" %s\n", ata_mode2str(fdp->device->mode)); |