diff options
Diffstat (limited to 'disk-utils')
-rw-r--r-- | disk-utils/swaplabel.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/disk-utils/swaplabel.c b/disk-utils/swaplabel.c index 7785bcebc..ccc226a02 100644 --- a/disk-utils/swaplabel.c +++ b/disk-utils/swaplabel.c @@ -51,7 +51,12 @@ static int print_info(blkid_probe pr) } /* Change the swap partition info */ +#ifdef HAVE_LIBUUID static int change_info(const char *devname, const char *label, const char *uuid) +#else +static int change_info(const char *devname, const char *label, + const char *uuid __attribute__((__unused__))) +#endif { int fd; |