Skip to content
Snippets Groups Projects
Commit 9ca11d51 authored by Jonas Höglund's avatar Jonas Höglund
Browse files

Check input

parent b70c60b7
No related branches found
No related tags found
No related merge requests found
......@@ -32,4 +32,9 @@
int main(int argc, char *argv[])
{
printf("dumpimage\n");
if (argc < 2) {
fprintf(stderr, "Error: missing filename");
return -1;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment