Fix compilation on 64bit archs.

This commit is contained in:
Søren Schmidt 2003-12-16 19:41:38 +00:00
parent c78ee30919
commit 14d7f69797

View File

@ -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");
}