summaryrefslogtreecommitdiff
path: root/util-linux/volume_id/romfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/volume_id/romfs.c')
-rw-r--r--util-linux/volume_id/romfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/volume_id/romfs.c b/util-linux/volume_id/romfs.c
index 400bdce..2c061bd 100644
--- a/util-linux/volume_id/romfs.c
+++ b/util-linux/volume_id/romfs.c
@@ -27,8 +27,9 @@ struct romfs_super {
uint8_t name[0];
} __attribute__((__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*/)
{
+#define off ((uint64_t)0)
struct romfs_super *rfs;
dbg("probing at offset 0x%llx", (unsigned long long) off);