aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r--util-linux/mount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index b19c3a3ef..902df34e0 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -248,6 +248,7 @@ static int verbose_mount(const char *source, const char *target,
#define verbose_mount(...) mount(__VA_ARGS__)
#endif
+#if ENABLE_FEATURE_MOUNT_LABEL
static int resolve_mount_spec(char **fsname)
{
char *tmp = NULL;
@@ -263,6 +264,7 @@ static int resolve_mount_spec(char **fsname)
}
return 0;
}
+#endif
/* Append mount options to string */
static void append_mount_options(char **oldopts, const char *newopts)