summaryrefslogtreecommitdiff
path: root/util-linux/volume_id/xfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/volume_id/xfs.c')
-rw-r--r--util-linux/volume_id/xfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/volume_id/xfs.c b/util-linux/volume_id/xfs.c
index 0d90437..646c81d 100644
--- a/util-linux/volume_id/xfs.c
+++ b/util-linux/volume_id/xfs.c
@@ -35,8 +35,9 @@ struct xfs_super_block {
uint64_t fdblocks;
} __attribute__((__packed__));
-int volume_id_probe_xfs(struct volume_id *id, uint64_t off)
+int volume_id_probe_xfs(struct volume_id *id /*,uint64_t off*/)
{
+#define off ((uint64_t)0)
struct xfs_super_block *xs;
dbg("probing at offset 0x%llx", (unsigned long long) off);