From e4ac4469ad869ae5b95bbc7549b9df87878d3df7 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 3 Jan 2011 11:01:42 +0100 Subject: [PATCH] mount: use verbose info for HAVE_LIBMOUNT_MOUNT only Signed-off-by: Karel Zak --- mount/mount.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mount/mount.c b/mount/mount.c index 42e789f3..2528fa6f 100644 --- a/mount/mount.c +++ b/mount/mount.c @@ -1315,6 +1315,8 @@ loop_check(const char **spec, const char **type, int *flags, return 0; } + +#ifdef HAVE_LIBMOUNT_MOUNT static void verbose_mount_info(const char *spec, const char *node, const char *type, const char *opts, int flags) @@ -1332,7 +1334,6 @@ verbose_mount_info(const char *spec, const char *node, const char *type, my_free(mnt.mnt_dir); } -#ifdef HAVE_LIBMOUNT_MOUNT static void prepare_mtab_entry(const char *spec, const char *node, const char *type, const char *opts, unsigned long flags) -- 2.39.5