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: LVM - add uuid
[elogind.git]
/
extras
/
volume_id
/
lib
/
hpfs.c
diff --git
a/extras/volume_id/lib/hpfs.c
b/extras/volume_id/lib/hpfs.c
index 3e9589fccafb80e9a9a53d6a5b2425a1512341e1..edcf0666ae7440e5280f60d9f4a077842786a279 100644
(file)
--- a/
extras/volume_id/lib/hpfs.c
+++ b/
extras/volume_id/lib/hpfs.c
@@
-34,11
+34,11
@@
struct hpfs_super
#define HPFS_SUPERBLOCK_OFFSET 0x2000
#define HPFS_SUPERBLOCK_OFFSET 0x2000
-int volume_id_probe_hpfs(struct volume_id *id, uint64_t off)
+int volume_id_probe_hpfs(struct volume_id *id, uint64_t off
, uint64_t size
)
{
struct hpfs_super *hs;
{
struct hpfs_super *hs;
-
dbg
("probing at offset 0x%llx", (unsigned long long) off);
+
info
("probing at offset 0x%llx", (unsigned long long) off);
hs = (struct hpfs_super *) volume_id_get_buffer(id, off + HPFS_SUPERBLOCK_OFFSET, 0x200);
if (hs == NULL)
hs = (struct hpfs_super *) volume_id_get_buffer(id, off + HPFS_SUPERBLOCK_OFFSET, 0x200);
if (hs == NULL)