git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3548d24
)
socket-util: Fix an inverted use of LINUX
author
YAMAMOTO Takashi
<yamamoto@valinux.co.jp>
Thu, 20 Mar 2014 06:00:14 +0000
(15:00 +0900)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 20 Mar 2014 16:30:03 +0000
(09:30 -0700)
Fix a regression introduced by commit
fce314cd
.
("socket-util: Fix definition of LINUX.")
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/socket-util.c
patch
|
blob
|
history
diff --git
a/lib/socket-util.c
b/lib/socket-util.c
index
5e1be3f
..
aa0c719
100644
(file)
--- 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;
}