summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2003-12-16 19:41:38 +0000
committersos <sos@FreeBSD.org>2003-12-16 19:41:38 +0000
commit55beee1cca3db700dbc7c1363df5cbf2bb2aee1f (patch)
treecdb5df79f5057d448aff3cfca3204773a3bfa389 /sys/dev/ata
parent7c25dd155ff649ed52e08d636680ce9361ec4340 (diff)
downloadFreeBSD-src-55beee1cca3db700dbc7c1363df5cbf2bb2aee1f.zip
FreeBSD-src-55beee1cca3db700dbc7c1363df5cbf2bb2aee1f.tar.gz
Fix compilation on 64bit archs.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r--sys/dev/ata/ata-queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-queue.c b/sys/dev/ata/ata-queue.c
index 62b9cfc..6fd30fc 100644
--- a/sys/dev/ata/ata-queue.c
+++ b/sys/dev/ata/ata-queue.c
@@ -252,7 +252,7 @@ ata_completed(void *context, int pending)
printf(" dma=0x%02x", request->dmastat);
if (!(request->flags & ATA_R_ATAPI) &&
!(request->flags & ATA_R_CONTROL))
- printf(" LBA=%lld", request->u.ata.lba);
+ printf(" LBA=%llu", (unsigned long long)request->u.ata.lba);
printf("\n");
}
OpenPOWER on IntegriCloud