1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

volume_id: get rid of compiler warning

This commit is contained in:
Kay Sievers 2007-03-18 12:55:21 +01:00
parent 24f0605c1f
commit f0f7c715ae

View 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");