diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-01-31 10:15:11 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-01-31 10:15:11 +0100 |
commit | 550fe816e546e78931792e94b558336516054415 (patch) | |
tree | abbd9c26e080fceab1308ef562a18d9cc1476ba9 /ax25rtd/ax25rtctl.c | |
parent | 7173a92eeeb7b4b4bdb17f9064fede35bec87dd4 (diff) |
Fix further abuse of 0 as NULL pointer.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25rtd/ax25rtctl.c')
-rw-r--r-- | ax25rtd/ax25rtctl.c | 24 |
1 files changed, 12 insertions, 12 deletions
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"; |