diff options
author | sos <sos@FreeBSD.org> | 2006-03-05 20:30:54 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2006-03-05 20:30:54 +0000 |
commit | ca50acdfb46d8a9491aa0b43049da945e30fb6f3 (patch) | |
tree | 589347945f0e744036580161811c47ec94039b59 /sys/dev/ata/ata-disk.c | |
parent | e586a0042e10fd3b8cd186195c3363e8a99ef63c (diff) | |
download | FreeBSD-src-ca50acdfb46d8a9491aa0b43049da945e30fb6f3.zip FreeBSD-src-ca50acdfb46d8a9491aa0b43049da945e30fb6f3.tar.gz |
Update atapi-fd to support direct devices such as disks.
Diffstat (limited to 'sys/dev/ata/ata-disk.c')
-rw-r--r-- | sys/dev/ata/ata-disk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/ata-disk.c b/sys/dev/ata/ata-disk.c index 1774962..390ec9d 100644 --- a/sys/dev/ata/ata-disk.c +++ b/sys/dev/ata/ata-disk.c @@ -365,7 +365,7 @@ ad_describe(device_t dev) strncpy(product, atadev->param.model, 40); } - device_printf(dev, "%lluMB <%s%s %.8s> at ata%d-%s %s%s\n", + device_printf(dev, "%juMB <%s%s %.8s> at ata%d-%s %s%s\n", (unsigned long long)(adp->total_secs / (1048576 / DEV_BSIZE)), vendor, product, atadev->param.revision, device_get_unit(ch->dev), @@ -373,7 +373,7 @@ ad_describe(device_t dev) (adp->flags & AD_F_TAG_ENABLED) ? "tagged " : "", ata_mode2str(atadev->mode)); if (bootverbose) { - device_printf(dev, "%llu sectors [%lldC/%dH/%dS] " + device_printf(dev, "%ju sectors [%juC/%dH/%dS] " "%d sectors/interrupt %d depth queue\n", (unsigned long long)adp->total_secs, (unsigned long long)(adp->total_secs / |