swaplabel: fix --disable-libuuid compilation
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
9f20d80079
commit
3da94b1114
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue