gfs2-utils: master - fsck.gfs2: Trivial typo fix

Andrew Price andyp at fedoraproject.org
Thu Feb 28 18:39:45 UTC 2013


Gitweb:        http://git.fedorahosted.org/git/?p=gfs2-utils.git;a=commitdiff;h=77f7ae84d26f220425d4c9b4db872c4e1e558afd
Commit:        77f7ae84d26f220425d4c9b4db872c4e1e558afd
Parent:        c221ae9b218f4d087aac2a9d51d85b39957eb06f
Author:        Andrew Price <anprice at redhat.com>
AuthorDate:    Thu Feb 28 18:37:44 2013 +0000
Committer:     Andrew Price <anprice at redhat.com>
CommitterDate: Thu Feb 28 18:37:44 2013 +0000

fsck.gfs2: Trivial typo fix

Fix a typo in u64cmp

Signed-off-by: Andrew Price <anprice at redhat.com>
---
 gfs2/fsck/metawalk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gfs2/fsck/metawalk.c b/gfs2/fsck/metawalk.c
index 5838fba..a40a6af 100644
--- a/gfs2/fsck/metawalk.c
+++ b/gfs2/fsck/metawalk.c
@@ -664,7 +664,7 @@ static int u64cmp(const void *p1, const void *p2)
 
 	if (a > b)
 		return 1;
-	if (b < b)
+	if (a < b)
 		return -1;
 
 	return 0;


More information about the cluster-commits mailing list