summaryrefslogtreecommitdiff
path: root/ownership.c
diff options
context:
space:
mode:
authorkhali <khali>2015-04-28 11:17:47 +0000
committerkhali <khali>2015-04-28 11:17:47 +0000
commit4ce09f0ebc36c50f1f389a6b70fac3077149580c (patch)
tree9b098153e260a7dcfb7d50c716a8d76527f948e0 /ownership.c
parentdcde38f2d1720a6ad23cd7d4e15b21e336c3d190 (diff)
downloaddmidecode-4ce09f0ebc36c50f1f389a6b70fac3077149580c.tar.gz
Fix sparse warnings
Diffstat (limited to 'ownership.c')
-rw-r--r--ownership.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ownership.c b/ownership.c
index 5d95ebf..de44bf4 100644
--- a/ownership.c
+++ b/ownership.c
@@ -119,7 +119,7 @@ static int parse_command_line(int argc, char * const argv[])
{ "dev-mem", required_argument, NULL, 'd' },
{ "help", no_argument, NULL, 'h' },
{ "version", no_argument, NULL, 'V' },
- { 0, 0, 0, 0 }
+ { NULL, 0, NULL, 0 }
};
while ((option = getopt_long(argc, argv, optstring, longopts, NULL)) != -1)