]> err.no Git - systemd/commitdiff
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 92f00e0c50006f2ee43c6cb024bc340d8257a7d6..0427d70da199e312e518c5e48792350de9cc4e26 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");