summaryrefslogtreecommitdiff
path: root/lib/e2p/uuid.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2006-04-22 04:32:36 -0400
committerTheodore Ts'o <tytso@mit.edu>2006-04-22 04:32:36 -0400
commitb116e781f6ea9b16d88741e9f1b4a9d0448807fa (patch)
tree589978ef8bcb364dcb52d430b654ecddb989115b /lib/e2p/uuid.c
parent7aea126e85132efe957c3a66247233fe963e8afb (diff)
downloade2fsprogs-b116e781f6ea9b16d88741e9f1b4a9d0448807fa.tar.gz
Fix bug which could cause dumpe2fs to rarely fail to print a UUID
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>
Diffstat (limited to 'lib/e2p/uuid.c')
-rw-r--r--lib/e2p/uuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/e2p/uuid.c b/lib/e2p/uuid.c
index fef3b91e..60d42bae 100644
--- a/lib/e2p/uuid.c
+++ b/lib/e2p/uuid.c
@@ -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;
}