]> err.no Git - util-linux/commitdiff
mount: use verbose info for HAVE_LIBMOUNT_MOUNT only
authorKarel Zak <kzak@redhat.com>
Mon, 3 Jan 2011 10:01:42 +0000 (11:01 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 3 Jan 2011 11:28:49 +0000 (12:28 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/mount.c

index 42e789f301771580986f79afaed69d58819f44e1..2528fa6f94029c39faccbbeb5c7c922e894f09ba 100644 (file)
@@ -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)