[build] Fix uses of literal 0 as a NULL pointer

Detected using sparse.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2013-04-28 16:51:05 +01:00
parent e5cbfefdf3
commit b9663b8049
13 changed files with 20 additions and 24 deletions

View File

@@ -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}
};
/**