chiark / gitweb /
vol_id: make the --offset= argument optional
[elogind.git] / extras / volume_id / lib / vxfs.c
index d10cc377621146653b18211e6af1cd85f283f97b..33d357b7d85cbfd8e0d218c5685fccc196708045 100644 (file)
@@ -33,11 +33,11 @@ struct vxfs_super {
        int32_t                 vs_version;
 } PACKED;
 
-int volume_id_probe_vxfs(struct volume_id *id, uint64_t off)
+int volume_id_probe_vxfs(struct volume_id *id, uint64_t off, uint64_t size)
 {
        struct vxfs_super *vxs;
 
-       dbg("probing at offset 0x%llx", (unsigned long long) off);
+       info("probing at offset 0x%llx\n", (unsigned long long) off);
 
        vxs = (struct vxfs_super *) volume_id_get_buffer(id, off + 0x200, 0x200);
        if (vxs == NULL)