From 764b697c56660d3d7207b985ff6b0730df387954 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 4 Dec 2014 13:06:03 +0100 Subject: libfdisk: fix bug in cmp_numbers() and partitions sorting Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1170191 Signed-off-by: Karel Zak --- include/c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/c.h') diff --git a/include/c.h b/include/c.h index 142583956..068e2676a 100644 --- a/include/c.h +++ b/include/c.h @@ -112,7 +112,7 @@ __typeof__(x) _a = (x); \ __typeof__(y) _b = (y); \ (void) (&_a == &_b); \ - a == b ? 0 : a > b ? 1 : -1; }) + _a == _b ? 0 : _a > _b ? 1 : -1; }) #endif #ifndef offsetof -- cgit v1.2.3-55-g7522