X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Factivate%2Factivate.c;h=5263969fcf572c1e1829fc59da8f87c849443a89;hb=71008e18a0bf9e9b96348fe2fb751aea23397186;hp=537626d390c3e47d22c56a56f7ab02df281561a6;hpb=df49ccafc0d57c731a3da3014ad55d5bb9ed3e1b;p=elogind.git diff --git a/src/activate/activate.c b/src/activate/activate.c index 537626d39..5263969fc 100644 --- a/src/activate/activate.c +++ b/src/activate/activate.c @@ -58,7 +58,6 @@ static int add_epoll(int epoll_fd, int fd) { } static int make_socket_fd(const char* address, int flags) { - _cleanup_free_ char *p = NULL; SocketAddress a; int fd, r; @@ -319,7 +318,7 @@ static int parse_argv(int argc, char *argv[]) { assert(argc >= 0); assert(argv); - while ((c = getopt_long(argc, argv, "+hl:saE:", options, NULL)) >= 0) + while ((c = getopt_long(argc, argv, "+hl:aE:", options, NULL)) >= 0) switch(c) { case 'h': return help();