chiark / gitweb /
volume_id: fix sqashfs detection
[elogind.git] / extras / volume_id / lib / cramfs.c
index beb34d5bc0442e13202cdaa891aa74371a3a7f7e..bf329506e1c29861b4c34289f78f6925008eb8e3 100644 (file)
@@ -41,11 +41,11 @@ struct cramfs_super {
        uint8_t         name[16];
 } PACKED;
 
-int volume_id_probe_cramfs(struct volume_id *id, uint64_t off)
+int volume_id_probe_cramfs(struct volume_id *id, uint64_t off, uint64_t size)
 {
        struct cramfs_super *cs;
 
-       dbg("probing at offset 0x%llx", (unsigned long long) off);
+       info("probing at offset 0x%llx", (unsigned long long) off);
 
        cs = (struct cramfs_super *) volume_id_get_buffer(id, off, 0x200);
        if (cs == NULL)