From: ceriel Date: Thu, 23 Apr 1987 12:53:54 +0000 (+0000) Subject: minor bug fix: dumped core when called with more than one arg X-Git-Tag: release-5-5~4189 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=41da733a19b5e2209763c771b7c648f0c4dca1db;p=ack.git minor bug fix: dumped core when called with more than one arg --- diff --git a/util/cpp/main.c b/util/cpp/main.c index 4874c63d6..464de5cdb 100644 --- a/util/cpp/main.c +++ b/util/cpp/main.c @@ -59,6 +59,7 @@ compile(argc, argv) WorkingDir = 0; break; default: + FileName = argv[0]; fatal("use: %s [options] [source]", prog_name); break; }