summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/tools/mksimage/mksimage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/tools/mksimage/mksimage.c b/common/tools/mksimage/mksimage.c
index 8d65b57b01..208c8e8f45 100644
--- a/common/tools/mksimage/mksimage.c
+++ b/common/tools/mksimage/mksimage.c
@@ -65,7 +65,8 @@ int main(int argc, char **argv)
{ "desc", required_argument, NULL, 'd' },
{ "md5", required_argument, NULL, 'm' },
{ "plc-ram", required_argument, NULL, 'r' },
- { "help", no_argument, NULL, 'h' }
+ { "help", no_argument, NULL, 'h' },
+ { 0, 0, 0, 0 }
};
while((c = getopt_long(argc, argv, "s:v:d:m:r:h", opt, &i)) != EOF)