chiark / gitweb /
libudev: libudev.pc add Libs.private
[elogind.git] / extras / volume_id / lib / hpfs.c
index 3e9589fccafb80e9a9a53d6a5b2425a1512341e1..a95e778e5eacab4d4e9897b74abba393e2a88c2a 100644 (file)
@@ -24,6 +24,7 @@
 #include <ctype.h>
 
 #include "libvolume_id.h"
+#include "libvolume_id-private.h"
 #include "util.h"
 
 struct hpfs_super
@@ -34,11 +35,11 @@ struct hpfs_super
 
 #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;
 
-       dbg("probing at offset 0x%llx", (unsigned long long) off);
+       info("probing at offset 0x%llx\n", (unsigned long long) off);
 
        hs = (struct hpfs_super *) volume_id_get_buffer(id, off + HPFS_SUPERBLOCK_OFFSET, 0x200);
        if (hs == NULL)