-/* Try to build a canonical options string. */
-static char * fix_opts_string (int flags, const char *extra_opts) {
+static void print_one(char *spec, char *node, char *type, char *opts)
+{
+ if (verbose) {
+ printf("%s on %s type %s", spec, node, type);
+
+ if (opts != NULL)
+ printf(" (%s)", opts);
+
+ printf("\n");
+ }
+}
+
+/*
+ * Build a canonical mount option string for /etc/mtab.
+ */
+static char *fix_opts_string(int flags, const char *extra_opts)
+{