]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
Fix bug which could cause dumpe2fs to rarely fail to print a UUID
authorTheodore Ts'o <tytso@mit.edu>
Sat, 22 Apr 2006 08:32:36 +0000 (04:32 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 22 Apr 2006 08:32:36 +0000 (04:32 -0400)
uuid.c (e2p_is_null_uuid): Fix really stupid bug which could cause dumpe2fs
to fail to display a the journal or hash seed UUID.  (Thanks to Guillaume
Chambraud for pointing this out.)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/e2p/ChangeLog
lib/e2p/uuid.c

index 756227b9e21900688ee7c8f8999b1620706a39d8..358e108c7a1bc631091584cd5c07f453bbfb9a40 100644 (file)
@@ -1,3 +1,10 @@
+2006-04-18  Theodore Ts'o  <tytso@mit.edu>
+
+       * uuid.c (e2p_is_null_uuid): Fix really stupid bug which could
+               cause dumpe2fs to fail to display a the journal or hash
+               seed UUID.  (Thanks to Guillaume Chambraud for pointing
+               this out.)
+
 2006-03-23  Theodore Ts'o  <tytso@mit.edu>
 
        * feature.c (e2p_edit_feature): If the pseudo-feature "none" or
index fef3b91e77b769da6ba6ad670a58eec468b2d028..60d42bae3bf67a280c70df95bc0bce932a1cbedd 100644 (file)
@@ -23,7 +23,7 @@ int e2p_is_null_uuid(void *uu)
        int     i;
 
        for (i=0, cp = uu; i < 16; i++)
-               if (*cp)
+               if (*cp++)
                        return 0;
        return 1;
 }