From 550fe816e546e78931792e94b558336516054415 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 31 Jan 2017 10:15:11 +0100 Subject: Fix further abuse of 0 as NULL pointer. Signed-off-by: Ralf Baechle --- ax25rtd/ax25rtctl.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'ax25rtd') diff --git a/ax25rtd/ax25rtctl.c b/ax25rtd/ax25rtctl.c index d54e235..ba3c1ee 100644 --- a/ax25rtd/ax25rtctl.c +++ b/ax25rtd/ax25rtctl.c @@ -32,18 +32,18 @@ #include "../pathnames.h" static const struct option lopts[] = { - {"add", 1, 0, 'a'}, - {"del", 1, 0, 'd'}, - {"list", 1, 0, 'l'}, - {"expire", 1, 0, 'e'}, - {"save", 0, 0, 's'}, - {"reload", 0, 0, 'r'}, - {"shutdown", 0, 0, 'q'}, - {"Version", 0, 0, 'V'}, - {"help", 0, 0, 'h'}, - {"debug", 0, 0, 'x'}, - {"version", 0, 0, 'v'}, - {NULL, 0, 0, 0} + {"add", 1, NULL, 'a'}, + {"del", 1, NULL, 'd'}, + {"list", 1, NULL, 'l'}, + {"expire", 1, NULL, 'e'}, + {"save", 0, NULL, 's'}, + {"reload", 0, NULL, 'r'}, + {"shutdown", 0, NULL, 'q'}, + {"Version", 0, NULL, 'V'}, + {"help", 0, NULL, 'h'}, + {"debug", 0, NULL, 'x'}, + {"version", 0, NULL, 'v'}, + {NULL, 0, NULL, 0} }; static const char *sopts = "a:d:l:e:srqvVh"; -- cgit v1.2.3