aboutsummaryrefslogtreecommitdiff
path: root/util-linux/volume_id/jfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/volume_id/jfs.c')
-rw-r--r--util-linux/volume_id/jfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/volume_id/jfs.c b/util-linux/volume_id/jfs.c
index 63692f946..4c39e537a 100644
--- a/util-linux/volume_id/jfs.c
+++ b/util-linux/volume_id/jfs.c
@@ -35,8 +35,9 @@ struct jfs_super_block {
#define JFS_SUPERBLOCK_OFFSET 0x8000
-int volume_id_probe_jfs(struct volume_id *id, uint64_t off)
+int volume_id_probe_jfs(struct volume_id *id /*,uint64_t off*/)
{
+#define off ((uint64_t)0)
struct jfs_super_block *js;
dbg("probing at offset 0x%llx", (unsigned long long) off);