diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2013-03-04 11:33:13 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-03-04 11:33:13 +0100 |
commit | 7c13556baeecbde601d2df8368d93fad381ab297 (patch) | |
tree | b8020b05ddabe1b10ec4f70410544d1acb0ebf31 | |
parent | 2b4a75e6ee9dc3276faa534244e6288af552be2a (diff) | |
download | neard-7c13556baeecbde601d2df8368d93fad381ab297.tar.gz neard-7c13556baeecbde601d2df8368d93fad381ab297.tar.bz2 neard-7c13556baeecbde601d2df8368d93fad381ab297.zip |
main: Big fat warning for netlink initialization failure
-rw-r--r-- | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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(); |