]> git.hungrycats.org Git - linux/commitdiff
[IDE]: Fix compilation warning
authorBen Collins <bcollins@debian.org>
Sun, 25 Jan 2004 05:47:51 +0000 (00:47 -0500)
committerBen Collins <bcollins@debian.org>
Sun, 25 Jan 2004 05:47:51 +0000 (00:47 -0500)
drivers/ide/ide-disk.c

index 4d5ad566a40c7d79edc6191b6a495e308ffc1c4a..ac2a3ec078ec0f56b5fdc118644ccfd6b06fd542 100644 (file)
@@ -1605,8 +1605,8 @@ static void idedisk_setup (ide_drive_t *drive)
        if (drive->addressing == 0 && drive->capacity64 > 1ULL << 28) {
                printk("%s: cannot use LBA48 - full capacity "
                       "%llu sectors (%llu MB)\n",
-                      drive->name,
-                      drive->capacity64, sectors_to_MB(drive->capacity64));
+                      drive->name, (unsigned long long)drive->capacity64,
+                      sectors_to_MB(drive->capacity64));
                drive->capacity64 = 1ULL << 28;
        }