diff options
| author | Nate Lawson <njl@FreeBSD.org> | 2003-09-22 04:59:07 +0000 |
|---|---|---|
| committer | Nate Lawson <njl@FreeBSD.org> | 2003-09-22 04:59:07 +0000 |
| commit | 0588717032c6c5a9138f13b593aa7fb2934f3dc2 (patch) | |
| tree | 2e1b79392657dd87d047ecd3494e6d219ecb1ec4 /sys/dev/ips | |
| parent | c76789caa67585358a6f3ee015abfff712d7f040 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ips')
| -rw-r--r-- | sys/dev/ips/ips_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ips/ips_disk.c b/sys/dev/ips/ips_disk.c index 7b073b7258c5d..cde0545f4f676 100644 --- a/sys/dev/ips/ips_disk.c +++ b/sys/dev/ips/ips_disk.c @@ -139,7 +139,7 @@ static int ipsd_attach(device_t dev) dsc->ipsd_disk.d_fwsectors = IPS_COMP_SECTORS; } dsc->ipsd_disk.d_sectorsize = IPS_BLKSIZE; - dsc->ipsd_disk.d_mediasize = totalsectors * IPS_BLKSIZE; + dsc->ipsd_disk.d_mediasize = (off_t)totalsectors * IPS_BLKSIZE; disk_create(dsc->unit, &dsc->ipsd_disk, 0, NULL, NULL); device_printf(dev, "Logical Drive (%dMB)\n", |
