diff options
author | Karel Zak | 2011-01-03 11:01:42 +0100 |
---|---|---|
committer | Karel Zak | 2011-01-03 12:28:49 +0100 |
commit | e4ac4469ad869ae5b95bbc7549b9df87878d3df7 (patch) | |
tree | e9c65f3335eaba190e935751319cb3b9371c42d0 | |
parent | tests: use findmnt(8) for remount test (diff) | |
download | kernel-qcow2-util-linux-e4ac4469ad869ae5b95bbc7549b9df87878d3df7.tar.gz kernel-qcow2-util-linux-e4ac4469ad869ae5b95bbc7549b9df87878d3df7.tar.xz kernel-qcow2-util-linux-e4ac4469ad869ae5b95bbc7549b9df87878d3df7.zip |
mount: use verbose info for HAVE_LIBMOUNT_MOUNT only
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | mount/mount.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mount/mount.c b/mount/mount.c index 42e789f30..2528fa6f9 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) |