chiark / gitweb /
volume_id: really fix endianess bug in linux_raid detection
[elogind.git] / extras / volume_id / lib / squashfs.c
index bdb1f16628b7345e8fa8d2109181ae9fdaeaf472..99cc78aa415b6453e01e5c87f387bdd8719d2b58 100644 (file)
@@ -32,11 +32,11 @@ struct squashfs_super {
        uint32_t                s_magic;
 } PACKED;
 
-int volume_id_probe_squashfs(struct volume_id *id, uint64_t off)
+int volume_id_probe_squashfs(struct volume_id *id, uint64_t off, uint64_t size)
 {
        struct squashfs_super *sqs;
 
-       dbg("probing at offset 0x%llx", (unsigned long long) off);
+       info("probing at offset 0x%llx", (unsigned long long) off);
 
        sqs = (struct squashfs_super *) volume_id_get_buffer(id, off + 0x200, 0x200);
        if (sqs == NULL)