summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--disk-utils/mkswap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/mkswap.c b/disk-utils/mkswap.c
index e2eafa54..12d9a164 100644
--- a/disk-utils/mkswap.c
+++ b/disk-utils/mkswap.c
@@ -479,7 +479,7 @@ main(int argc, char ** argv) {
char *opt_label = NULL;
unsigned char *uuid = NULL;
#ifdef HAVE_LIBUUID
- unsigned char *opt_uuid = NULL;
+ const char *opt_uuid = NULL;
uuid_t uuid_dat;
#endif