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:
parent
24f0605c1f
commit
f0f7c715ae
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user