From: Karel Zak Date: Mon, 3 Jan 2011 10:01:42 +0000 (+0100) Subject: mount: use verbose info for HAVE_LIBMOUNT_MOUNT only X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4ac4469ad869ae5b95bbc7549b9df87878d3df7;p=util-linux mount: use verbose info for HAVE_LIBMOUNT_MOUNT only Signed-off-by: Karel Zak --- 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)