Fix segfault when appending an argument not recknownized

This commit is contained in:
eatdirt 2014-11-20 23:43:11 +01:00 committed by Carlos R. Mafra
parent ca283f97b8
commit 27a4386c3f

View file

@ -86,6 +86,8 @@ int main(int argc, char *argv[])
strcpy(prg,argv[i+1]); strcpy(prg,argv[i+1]);
break; break;
} }
printf("only -v and -exe supported \n");
exit(0);
} }
} }
/* get driver name (guess all cpu have the same driver) */ /* get driver name (guess all cpu have the same driver) */