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: use PRIu64i, PRIx64 macros
[elogind.git]
/
extras
/
volume_id
/
lib
/
ufs.c
diff --git
a/extras/volume_id/lib/ufs.c
b/extras/volume_id/lib/ufs.c
index 54cc85c43c4891be550745e8080f3599356acd87..0648b454d38819e0d92fe17064ecbdb00bb19c57 100644
(file)
--- a/
extras/volume_id/lib/ufs.c
+++ b/
extras/volume_id/lib/ufs.c
@@
-180,7
+180,7
@@
int volume_id_probe_ufs(struct volume_id *id, uint64_t off, uint64_t size)
struct ufs_super_block *ufs;
int offsets[] = {0, 8, 64, 256, -1};
struct ufs_super_block *ufs;
int offsets[] = {0, 8, 64, 256, -1};
- info("probing at offset 0x%
llx\n", (unsigned long long)
off);
+ info("probing at offset 0x%
" PRIx64 "\n",
off);
for (i = 0; offsets[i] >= 0; i++) {
ufs = (struct ufs_super_block *) volume_id_get_buffer(id, off + (offsets[i] * 0x400), 0x800);
for (i = 0; offsets[i] >= 0; i++) {
ufs = (struct ufs_super_block *) volume_id_get_buffer(id, off + (offsets[i] * 0x400), 0x800);