chiark / gitweb /
libvolume_id: recognize swap partitions with a tuxonice hibernate image
[elogind.git] / extras / volume_id / lib / romfs.c
index a88781e36ecb8b8217974a24b0a1ad3827027efe..303a1fb40ec6d7972199ba1b1d6c9736e47822d9 100644 (file)
@@ -33,11 +33,11 @@ struct romfs_super {
        uint8_t name[0];
 } PACKED;
 
-int volume_id_probe_romfs(struct volume_id *id, uint64_t off)
+int volume_id_probe_romfs(struct volume_id *id, uint64_t off, uint64_t size)
 {
        struct romfs_super *rfs;
 
-       info("probing at offset 0x%llx", (unsigned long long) off);
+       info("probing at offset 0x%llx\n", (unsigned long long) off);
 
        rfs = (struct romfs_super *) volume_id_get_buffer(id, off, 0x200);
        if (rfs == NULL)