mirror of
https://github.com/openvswitch/ovs
synced 2025-09-04 00:05:15 +00:00
socket-util: Fix an inverted use of LINUX
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>
This commit is contained in:
committed by
Ben Pfaff
parent
3548d24257
commit
6723e8af39
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user