projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1b2a23
)
system-linux: return 0 in system_init
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 9 Oct 2011 17:56:43 +0000
(19:56 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 9 Oct 2011 17:56:43 +0000
(19:56 +0200)
system-linux.c
patch
|
blob
|
history
diff --git
a/system-linux.c
b/system-linux.c
index 158045a3487ed66776b165a42b3e567492b28153..db809bb4f91b7495cc9ea22057f334ea136bffa5 100644
(file)
--- a/
system-linux.c
+++ b/
system-linux.c
@@
-60,7
+60,7
@@
int system_init(void)
rtnl_event.fd = nl_socket_get_fd(sock_rtnl_event);
uloop_fd_add(&rtnl_event, ULOOP_READ | ULOOP_EDGE_TRIGGER);
- return
-(sock_ioctl < 0 || !sock_rtnl)
;
+ return
0
;
error_free_event:
nl_socket_free(sock_rtnl_event);