From b9663b80497d8954a2195789c91ba2f27c8e2d6b Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 28 Apr 2013 16:51:05 +0100 Subject: [build] Fix uses of literal 0 as a NULL pointer Detected using sparse. Signed-off-by: Michael Brown --- src/hci/linux_args.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/hci/linux_args.c') diff --git a/src/hci/linux_args.c b/src/hci/linux_args.c index 0bce4af9c..58eeb063e 100644 --- a/src/hci/linux_args.c +++ b/src/hci/linux_args.c @@ -45,9 +45,9 @@ __asmcall void save_args(int argc, char **argv) /** Supported command-line options */ static struct option options[] = { - {"net", 1, 0, 'n'}, - {"settings", 1, 0, 's'}, - {0, 0, 0, 0} + {"net", 1, NULL, 'n'}, + {"settings", 1, NULL, 's'}, + {NULL, 0, NULL, 0} }; /** -- cgit v1.2.3-55-g7522