minor bug fix: dumped core when called with more than one arg
authorceriel <none@none>
Thu, 23 Apr 1987 12:53:54 +0000 (12:53 +0000)
committerceriel <none@none>
Thu, 23 Apr 1987 12:53:54 +0000 (12:53 +0000)
util/cpp/main.c

index 4874c63..464de5c 100644 (file)
@@ -59,6 +59,7 @@ compile(argc, argv)
                WorkingDir = 0;
                break;
        default:
+               FileName = argv[0];
                fatal("use: %s [options] [source]", prog_name);
                break;
        }