Whamcloud - gitweb
ChangeLog, ls.c:
authorTheodore Ts'o <tytso@mit.edu>
Sun, 13 May 2001 22:14:53 +0000 (22:14 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 13 May 2001 22:14:53 +0000 (22:14 +0000)
  ls.c (print_features): Added missing space when printing (none) as the
   filesystem feature.
   (list_super2): If the filesystem revision is unknown, say so.

lib/e2p/ChangeLog
lib/e2p/ls.c

index 985217b..b49593f 100644 (file)
@@ -1,3 +1,9 @@
+2001-05-13  Theodore Tso  <tytso@valinux.com>
+
+       * ls.c (print_features): Added missing space when printing (none)
+               as the filesystem feature.
+               (list_super2): If the filesystem revision is unknown, say so.
+
 2001-01-15  Theodore Ts'o  <tytso@valinux.com>
 
        * ls.c (list_super2): Fix bug where we were printing the
index 7e92bb8..e8ca09b 100644 (file)
@@ -107,7 +107,7 @@ static void print_features(struct ext2_super_block * s, FILE *f)
                }
        }
        if (printed == 0)
-               fprintf(f, "(none)");
+               fprintf(f, " (none)");
        fprintf(f, "\n");
 #endif
 }
@@ -159,7 +159,7 @@ void list_super2(struct ext2_super_block * sb, FILE *f)
                fprintf(f, " (dynamic)\n");
 #endif
        } else
-               fprintf(f, "\n");
+               fprintf(f, " (unknown)\n");
        print_features(sb, f);
        fprintf(f, "Filesystem state:        ");
        print_fs_state (f, sb->s_state);