Fix segfault when appending an argument not recknownized
This commit is contained in:
parent
ca283f97b8
commit
27a4386c3f
|
@ -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) */
|
||||||
|
|
Loading…
Reference in a new issue