Whamcloud - gitweb
ChangeLog, ls.c:
authorTheodore Ts'o <tytso@mit.edu>
Tue, 16 Jan 2001 06:41:54 +0000 (06:41 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 16 Jan 2001 06:41:54 +0000 (06:41 +0000)
  ls.c (list_super2): Fix bug where we were printing the filesystem UUID
   instead of journal UUID when trying to display the journal UUID.

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

index 1c6d632..985217b 100644 (file)
@@ -1,3 +1,9 @@
+2001-01-15  Theodore Ts'o  <tytso@valinux.com>
+
+       * ls.c (list_super2): Fix bug where we were printing the
+               filesystem UUID instead of journal UUID when trying to
+               display the journal UUID.
+
 2001-01-14  Theodore Ts'o  <tytso@valinux.com>
 
        * feature.c: Remove backward compatibility #ifdef's for old
index ceb78e8..7e92bb8 100644 (file)
@@ -215,7 +215,7 @@ void list_super2(struct ext2_super_block * sb, FILE *f)
                if (e2p_is_null_uuid(sb->s_journal_uuid)) {
                        strcpy(buf, "<none>");
                } else
-                       e2p_uuid_to_str(sb->s_uuid, buf);
+                       e2p_uuid_to_str(sb->s_journal_uuid, buf);
                fprintf(f, "Journal UUID:             %s\n", buf);
                fprintf(f, "Journal inode:            %u\n", sb->s_journal_inum);
                fprintf(f, "Journal device:               0x%04x\n", sb->s_journal_dev);