minor bug fix: dumped core when called with more than one arg

This commit is contained in:
ceriel 1987-04-23 12:53:54 +00:00
parent 4cbff1975f
commit 41da733a19

View file

@ -59,6 +59,7 @@ compile(argc, argv)
WorkingDir = 0; WorkingDir = 0;
break; break;
default: default:
FileName = argv[0];
fatal("use: %s [options] [source]", prog_name); fatal("use: %s [options] [source]", prog_name);
break; break;
} }