diff options
author | H. Peter Anvin <hpa@zytor.com> | 2014-01-17 16:56:11 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2014-01-17 16:56:11 -0800 |
commit | 607617d7ff7ead7f8ff42c5f7598d7a240842811 (patch) | |
tree | 850ac59565e8c4259645e29889161b01469bc814 | |
parent | 12eae5ce91273ba9a98b7fe9a838f5ef2f9044b7 (diff) | |
download | syslinux-607617d7ff7ead7f8ff42c5f7598d7a240842811.tar.gz syslinux-607617d7ff7ead7f8ff42c5f7598d7a240842811.tar.xz syslinux-607617d7ff7ead7f8ff42c5f7598d7a240842811.zip |
installer: fix 0 used as NULL
0 used as NULL triggers a warning.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | libinstaller/syslxopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libinstaller/syslxopt.c b/libinstaller/syslxopt.c index a73cd10a..3fc5519b 100644 --- a/libinstaller/syslxopt.c +++ b/libinstaller/syslxopt.c @@ -67,7 +67,7 @@ const struct option long_options[] = { {"mbr", 0, NULL, 'm'}, /* DOS/Win32 only */ {"active", 0, NULL, 'a'}, /* DOS/Win32 only */ {"device", 1, NULL, OPT_DEVICE}, - {0, 0, 0, 0} + {NULL, 0, NULL, 0} }; const char short_options[] = "t:fid:UuzsS:H:rvho:OM:ma"; |