diff options
author | dimitri staessens <[email protected]> | 2016-07-06 19:14:42 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-07-06 19:14:42 +0200 |
commit | 4fb0d2bfb7486936ef05721667f03eccf664d56e (patch) | |
tree | c3753f440085a2126e399cb8667d99eb91a8ad6a /src/ipcpd/local/main.c | |
parent | 90c3c96b5c9b1e4db6bb6d1894a21aec54a965b1 (diff) | |
parent | bb85e730783ae34808e42c3107759f43106a9b1d (diff) | |
download | ouroboros-4fb0d2bfb7486936ef05721667f03eccf664d56e.tar.gz ouroboros-4fb0d2bfb7486936ef05721667f03eccf664d56e.zip |
Merged in sandervrijders/ouroboros/be (pull request #161)
lib, irmd, ipcpd: Provide the feature to write to logs
Diffstat (limited to 'src/ipcpd/local/main.c')
-rw-r--r-- | src/ipcpd/local/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ipcpd/local/main.c b/src/ipcpd/local/main.c index 4802a161..c705f74c 100644 --- a/src/ipcpd/local/main.c +++ b/src/ipcpd/local/main.c @@ -573,7 +573,7 @@ static struct ipcp * ipcp_local_create() #ifndef MAKE_CHECK -int main (int argc, char * argv[]) +int main(int argc, char * argv[]) { struct sigaction sig_act; sigset_t sigset; @@ -583,8 +583,8 @@ int main (int argc, char * argv[]) sigaddset(&sigset, SIGHUP); sigaddset(&sigset, SIGPIPE); - if (ipcp_arg_check(argc, argv)) { - LOG_ERR("Wrong arguments."); + if (ipcp_parse_arg(argc, argv)) { + LOG_ERR("Failed to parse arguments."); exit(1); } |