summaryrefslogtreecommitdiff
path: root/util-linux/volume_id/ocfs2.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/volume_id/ocfs2.c')
-rw-r--r--util-linux/volume_id/ocfs2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/volume_id/ocfs2.c b/util-linux/volume_id/ocfs2.c
index 8bcaac0..8417d91 100644
--- a/util-linux/volume_id/ocfs2.c
+++ b/util-linux/volume_id/ocfs2.c
@@ -80,8 +80,9 @@ struct ocfs2_super_block {
uint8_t s_uuid[OCFS2_VOL_UUID_LEN]; /* 128-bit uuid */
} __attribute__((__packed__));
-int volume_id_probe_ocfs2(struct volume_id *id, uint64_t off)
+int volume_id_probe_ocfs2(struct volume_id *id /*,uint64_t off*/)
{
+#define off ((uint64_t)0)
struct ocfs2_super_block *os;
dbg("probing at offset 0x%llx", (unsigned long long) off);