Fix program name fallback (cut&paste mistake :)

This commit is contained in:
Stefan `Sec` Zehl 2011-06-26 12:46:35 +02:00
parent 31584b0a4d
commit d6d2bb531e
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ int main(int argc, char *argv[]) {
/* init section */
prog=argv[0];
if(!prog)prog="blink";
if(!prog)prog="lpcfix";
if(strrchr(prog,'/')){
prog=strrchr(argv[0],'/');
prog++;