diff options
| author | Bruce Evans <bde@FreeBSD.org> | 2002-03-02 10:54:33 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 2002-03-02 10:54:33 +0000 |
| commit | b9807403277c000c0e56389f3477084cf413d925 (patch) | |
| tree | 4f6d3aeb70153cc9e6fb9f88d2e51233ade4a6fa | |
| parent | 40e8dd712ce05fd5b8fae48301631e229a800d48 (diff) | |
Notes
| -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 6f5de66620fdf..2c4022e09837f 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; |
