summaryrefslogtreecommitdiff
path: root/util-linux/volume_id/ext.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/volume_id/ext.c')
-rw-r--r--util-linux/volume_id/ext.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/volume_id/ext.c b/util-linux/volume_id/ext.c
index db29dae..b052e04 100644
--- a/util-linux/volume_id/ext.c
+++ b/util-linux/volume_id/ext.c
@@ -43,8 +43,9 @@ struct ext2_super_block {
#define EXT3_FEATURE_INCOMPAT_JOURNAL_DEV 0x00000008
#define EXT_SUPERBLOCK_OFFSET 0x400
-int volume_id_probe_ext(struct volume_id *id, uint64_t off)
+int volume_id_probe_ext(struct volume_id *id /*,uint64_t off*/)
{
+#define off ((uint64_t)0)
struct ext2_super_block *es;
dbg("ext: probing at offset 0x%llx", (unsigned long long) off);