summaryrefslogtreecommitdiff
path: root/lib/device/dev-swap.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/device/dev-swap.c')
-rw-r--r--lib/device/dev-swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/device/dev-swap.c b/lib/device/dev-swap.c
index 564bb58ec..1d2a4c9d1 100644
--- a/lib/device/dev-swap.c
+++ b/lib/device/dev-swap.c
@@ -35,7 +35,7 @@ static int _swap_detect_signature(const char *buf)
return 0;
}
-int dev_is_swap(struct device *dev, uint64_t *offset_found, int full)
+int dev_is_swap(struct cmd_context *cmd, struct device *dev, uint64_t *offset_found, int full)
{
char buf[10];
uint64_t size;