X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=extras%2Fvolume_id%2Flib%2Fext.c;h=8fc7a747dc2296009687c1a57498d58eb240dbf1;hb=ac77e95948edc199cdd690de38f08e4d1e615840;hp=51c0011218f5ac1551acdd3d40f62f4d686344a2;hpb=83cc6ab4760817509f1ed1ee429669e563f82caf;p=elogind.git diff --git a/extras/volume_id/lib/ext.c b/extras/volume_id/lib/ext.c index 51c001121..8fc7a747d 100644 --- a/extras/volume_id/lib/ext.c +++ b/extras/volume_id/lib/ext.c @@ -70,12 +70,12 @@ struct ext2_super_block { #define EXT3_MIN_BLOCK_SIZE 0x400 #define EXT3_MAX_BLOCK_SIZE 0x1000 -int volume_id_probe_ext(struct volume_id *id, uint64_t off) +int volume_id_probe_ext(struct volume_id *id, uint64_t off, uint64_t size) { struct ext2_super_block *es; size_t bsize; - dbg("probing at offset 0x%llx", (unsigned long long) off); + info("probing at offset 0x%llx", (unsigned long long) off); es = (struct ext2_super_block *) volume_id_get_buffer(id, off + EXT_SUPERBLOCK_OFFSET, 0x200); if (es == NULL)