chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
volume_id: old md metadata has only 32 bit for the uuid
[elogind.git]
/
extras
/
volume_id
/
vol_id.c
diff --git
a/extras/volume_id/vol_id.c
b/extras/volume_id/vol_id.c
index 92f00e0c50006f2ee43c6cb024bc340d8257a7d6..0427d70da199e312e518c5e48792350de9cc4e26 100644
(file)
--- a/
extras/volume_id/vol_id.c
+++ b/
extras/volume_id/vol_id.c
@@
-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");