summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2013-03-04 11:33:13 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2013-03-04 11:33:13 +0100
commit7c13556baeecbde601d2df8368d93fad381ab297 (patch)
treeb8020b05ddabe1b10ec4f70410544d1acb0ebf31
parent2b4a75e6ee9dc3276faa534244e6288af552be2a (diff)
downloadneard-7c13556baeecbde601d2df8368d93fad381ab297.tar.gz
neard-7c13556baeecbde601d2df8368d93fad381ab297.tar.bz2
neard-7c13556baeecbde601d2df8368d93fad381ab297.zip
main: Big fat warning for netlink initialization failure
-rw-r--r--src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 6c94cf8..32934c3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -202,8 +202,10 @@ int main(int argc, char *argv[])
parse_config(config);
- if (__near_netlink_init() < 0)
+ if (__near_netlink_init() < 0) {
+ near_error("*** NETLINK INITIALIZATION FAILED ***");
exit(1);
+ }
__near_tag_init();
__near_device_init();