summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-disk.c
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2006-03-05 20:30:54 +0000
committersos <sos@FreeBSD.org>2006-03-05 20:30:54 +0000
commitca50acdfb46d8a9491aa0b43049da945e30fb6f3 (patch)
tree589347945f0e744036580161811c47ec94039b59 /sys/dev/ata/ata-disk.c
parente586a0042e10fd3b8cd186195c3363e8a99ef63c (diff)
downloadFreeBSD-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.c4
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 /
OpenPOWER on IntegriCloud