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: remove s390 dasd handling, it is dasd_id now
[elogind.git]
/
extras
/
volume_id
/
volume_id
/
lvm.c
diff --git
a/extras/volume_id/volume_id/lvm.c
b/extras/volume_id/volume_id/lvm.c
index bfc2ef2343f27fea051604667102a13acc99b565..d1e337dc35fd8acd5de4058b8cece2ed0b29daa6 100644
(file)
--- a/
extras/volume_id/volume_id/lvm.c
+++ b/
extras/volume_id/volume_id/lvm.c
@@
-59,7
+59,7
@@
int volume_id_probe_lvm1(struct volume_id *id, __u64 off)
const __u8 *buf;
struct lvm1_super_block *lvm;
const __u8 *buf;
struct lvm1_super_block *lvm;
- dbg("probing at offset
%llu",
off);
+ dbg("probing at offset
0x%llx", (unsigned long long)
off);
buf = volume_id_get_buffer(id, off + LVM1_SB_OFF, 0x800);
if (buf == NULL)
buf = volume_id_get_buffer(id, off + LVM1_SB_OFF, 0x800);
if (buf == NULL)
@@
-85,7
+85,7
@@
int volume_id_probe_lvm2(struct volume_id *id, __u64 off)
unsigned int soff;
struct lvm2_super_block *lvm;
unsigned int soff;
struct lvm2_super_block *lvm;
- dbg("probing at offset
%llu",
off);
+ dbg("probing at offset
0x%llx", (unsigned long long)
off);
buf = volume_id_get_buffer(id, off, LVM2LABEL_SCAN_SECTORS * 0x200);
if (buf == NULL)
buf = volume_id_get_buffer(id, off, LVM2LABEL_SCAN_SECTORS * 0x200);
if (buf == NULL)