summaryrefslogtreecommitdiff
path: root/util-linux/mkswap.c
diff options
context:
space:
mode:
authorDenys Vlasenko2009-06-19 13:14:48 +0200
committerDenys Vlasenko2009-06-19 13:14:48 +0200
commitbeca96ffa7b19ceb8439a678743c8ee35bb60509 (patch)
tree85adbf00832f9e9b0275dc250fa923e691a81754 /util-linux/mkswap.c
parentf3b92d385695aecefd93d5f199be1f64270c2687 (diff)
downloadbusybox-beca96ffa7b19ceb8439a678743c8ee35bb60509.zip
busybox-beca96ffa7b19ceb8439a678743c8ee35bb60509.tar.gz
mkswap: separate UUID feature
Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mkswap.c')
-rw-r--r--util-linux/mkswap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c
index 5d1f6f0..f718843 100644
--- a/util-linux/mkswap.c
+++ b/util-linux/mkswap.c
@@ -50,7 +50,7 @@ static void mkswap_selinux_setcontext(int fd, const char *path)
# define mkswap_selinux_setcontext(fd, path) ((void)0)
#endif
-#if ENABLE_DESKTOP
+#if ENABLE_FEATURE_MKSWAP_UUID
static void mkswap_generate_uuid(uint8_t *buf)
{
/* http://www.ietf.org/rfc/rfc4122.txt