chiark / gitweb /
libvolume_id: add parameter 'size' to all probe functions
[elogind.git] / extras / volume_id / lib / linux_swap.c
index 3937f8ea467241bd59ea547fd2865fb2cb991c53..21cb2bce8c1ea30b824a9c466974c47fb8c5ac4a 100644 (file)
@@ -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;