chiark / gitweb /
libvolume_id: add parameter 'size' to all probe functions
[elogind.git] / extras / volume_id / lib / iso9660.c
index 7b78a7e99285b964b3ddfb01adb5e2c1c9e2122f..f8f5aa18ea1c55c1e9204fbca773280951905cac 100644 (file)
@@ -53,13 +53,13 @@ struct high_sierra_volume_descriptor {
        uint8_t         version;
 } PACKED;
 
-int volume_id_probe_iso9660(struct volume_id *id, uint64_t off)
+int volume_id_probe_iso9660(struct volume_id *id, uint64_t off, uint64_t size)
 {
        uint8_t *buf;
        struct iso_volume_descriptor *is;
        struct high_sierra_volume_descriptor *hs;
 
-       dbg("probing at offset 0x%llx", (unsigned long long) off);
+       info("probing at offset 0x%llx", (unsigned long long) off);
 
        buf = volume_id_get_buffer(id, off + ISO_SUPERBLOCK_OFFSET, 0x200);
        if (buf == NULL)