[ovs-dev] [PATCH] socket-util: Fix an inverted use of LINUX
YAMAMOTO Takashi
yamamoto at valinux.co.jp
Thu Mar 20 06:00:14 UTC 2014
Fix a regression introduced by commit fce314cd.
("socket-util: Fix definition of LINUX.")
Signed-off-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
---
lib/socket-util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/socket-util.c b/lib/socket-util.c
index 5e1be3f..aa0c719 100644
--- a/lib/socket-util.c
+++ b/lib/socket-util.c
@@ -360,7 +360,7 @@ shorten_name_via_proc(const char *name, char short_name[MAX_UN_LEN + 1],
int dirfd;
int len;
- if (LINUX) {
+ if (!LINUX) {
return ENAMETOOLONG;
}
--
1.8.3.1
More information about the dev
mailing list