Fix crash due to missing argument

This commit is contained in:
David Hill 2016-07-21 12:39:56 -04:00
parent 44df869e70
commit b3eeca3da0

View File

@ -936,7 +936,7 @@ main(int argc, char *argv[])
char *p = strchr(optarg, '='); char *p = strchr(optarg, '=');
if (p == NULL) if (p == NULL)
{ {
warning("Skipping option '%s' specified, lacks name=value format.\n"); warning("Skipping option '%s' specified, lacks name=value format.\n", optarg);
continue; continue;
} }