chiark / gitweb /
volume_id: get rid of compiler warning
authorKay Sievers <kay.sievers@vrfy.org>
Sun, 18 Mar 2007 11:55:21 +0000 (12:55 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Sun, 18 Mar 2007 11:55:21 +0000 (12:55 +0100)
extras/volume_id/vol_id.c

index 92f00e0..0427d70 100644 (file)
@@ -183,7 +183,7 @@ int main(int argc, char *argv[])
 
        if (ioctl(vid->fd, BLKGETSIZE64, &size) != 0)
                size = 0;
-       dbg("BLKGETSIZE64=%llu", size);
+       dbg("BLKGETSIZE64=%llu", (unsigned long long)size);
 
        /* try to drop all privileges before reading disk content */
        pw = getpwnam ("nobody");