summaryrefslogtreecommitdiff
path: root/extras/volume_id/lib/linux_swap.c
diff options
context:
space:
mode:
Diffstat (limited to 'extras/volume_id/lib/linux_swap.c')
-rw-r--r--extras/volume_id/lib/linux_swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/volume_id/lib/linux_swap.c b/extras/volume_id/lib/linux_swap.c
index 3937f8ea46..21cb2bce8c 100644
--- a/extras/volume_id/lib/linux_swap.c
+++ b/extras/volume_id/lib/linux_swap.c
@@ -37,7 +37,7 @@ static struct swap_header_v1_2 {
#define LARGEST_PAGESIZE 0x4000
-int volume_id_probe_linux_swap(struct volume_id *id, uint64_t off)
+int volume_id_probe_linux_swap(struct volume_id *id, uint64_t off, uint64_t size)
{
const uint8_t *buf;
unsigned int page;