diff options
author | bde <bde@FreeBSD.org> | 2002-03-02 10:54:33 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-03-02 10:54:33 +0000 |
commit | 6c8918fd14aa9c33208d627069c82879aa605a39 (patch) | |
tree | 4f6d3aeb70153cc9e6fb9f88d2e51233ade4a6fa | |
parent | 4461fe46999f88bc903ba85a6b4f81a34b92edeb (diff) | |
download | FreeBSD-src-6c8918fd14aa9c33208d627069c82879aa605a39.zip FreeBSD-src-6c8918fd14aa9c33208d627069c82879aa605a39.tar.gz |
Fixed a printf format error.
-rw-r--r-- | sys/dev/ata/ata-raid.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-raid.c b/sys/dev/ata/ata-raid.c index 6f5de66..2c4022e 100644 --- a/sys/dev/ata/ata-raid.c +++ b/sys/dev/ata/ata-raid.c @@ -165,7 +165,9 @@ ata_raid_attach() raid->dev = dev; printf("ar%d: %lluMB <ATA ", - raid->lun, raid->total_sectors / ((1024L * 1024L) / DEV_BSIZE)); + raid->lun, + (unsigned long long)(raid->total_sectors / + ((1024L * 1024L) / DEV_BSIZE))); switch (raid->flags & (AR_F_RAID0 | AR_F_RAID1 | AR_F_SPAN)) { case AR_F_RAID0: printf("RAID0 "); break; |