[systemd-devel] [PATCH] util.h: KDBUS_ITEM_VALID fixed
Jacek Janczyk
j.janczyk at samsung.com
Tue Jun 17 03:38:38 PDT 2014
Missing character leading to wrong variable name restored.
Signed-off-by: Jacek Janczyk <j.janczyk at samsung.com>
---
util.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util.h b/util.h
index 96170e6..503e546 100644
--- a/util.h
+++ b/util.h
@@ -39,7 +39,7 @@
#define KDBUS_ITEM_VALID(_i, _is, _s) \
((_i)->size > KDBUS_ITEM_HEADER_SIZE && \
(u8 *)(_i) + (_i)->size <= (u8 *)(_i) + (_s) && \
- (u8 *)(_i) >= (u8 *)(_i))
+ (u8 *)(_i) >= (u8 *)(_is))
#define KDBUS_ITEMS_END(_i, _is, _s) \
((u8 *)_i == ((u8 *)(_is) + KDBUS_ALIGN8(_s)))
--
1.7.9.5
More information about the systemd-devel
mailing list