aboutsummaryrefslogtreecommitdiff
path: root/util-linux/volume_id/luks.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/volume_id/luks.c')
-rw-r--r--util-linux/volume_id/luks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/volume_id/luks.c b/util-linux/volume_id/luks.c
index b0f0f5b21..ebc7d160d 100644
--- a/util-linux/volume_id/luks.c
+++ b/util-linux/volume_id/luks.c
@@ -80,8 +80,9 @@ struct BUG_bad_size_luks_phdr {
1 : -1];
};
-int volume_id_probe_luks(struct volume_id *id, uint64_t off)
+int volume_id_probe_luks(struct volume_id *id /*,uint64_t off*/)
{
+#define off ((uint64_t)0)
struct luks_phdr *header;
header = volume_id_get_buffer(id, off, sizeof(*header));