diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-17 01:03:56 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-17 01:03:56 +0000 |
commit | 822ee59bc80b7e82a096ada26cfa8ec123167d20 (patch) | |
tree | c7c3f6c1b27dae5e63c5b6c217f4d6e4e04a7a9e /gnu/usr.bin/cc | |
parent | 7ccad1d5f60afabdd78c5074b186d0ad24ca80c3 (diff) | |
download | FreeBSD-src-822ee59bc80b7e82a096ada26cfa8ec123167d20.zip FreeBSD-src-822ee59bc80b7e82a096ada26cfa8ec123167d20.tar.gz |
Make error message for no input files specified consistent across all
three compilers.
Submitted by: Thomas Graichen <graichen@sirius.physik.fu-berlin.de>
Diffstat (limited to 'gnu/usr.bin/cc')
-rw-r--r-- | gnu/usr.bin/cc/c++/g++.c | 2 | ||||
-rw-r--r-- | gnu/usr.bin/cc/cc/gcc.c | 2 | ||||
-rw-r--r-- | gnu/usr.bin/cc/f77/f77.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/cc/c++/g++.c b/gnu/usr.bin/cc/c++/g++.c index 2875524..c8e205c 100644 --- a/gnu/usr.bin/cc/c++/g++.c +++ b/gnu/usr.bin/cc/c++/g++.c @@ -378,7 +378,7 @@ main (argc, argv) programname = p; if (argc == 1) - fatal ("No input files specified.\n"); + fatal ("No input files specified"); #ifndef __MSDOS__ /* We do a little magic to find out where the main gcc executable diff --git a/gnu/usr.bin/cc/cc/gcc.c b/gnu/usr.bin/cc/cc/gcc.c index 0be7da2..fe452d1 100644 --- a/gnu/usr.bin/cc/cc/gcc.c +++ b/gnu/usr.bin/cc/cc/gcc.c @@ -4366,7 +4366,7 @@ main (argc, argv) } if (n_infiles == 0) - fatal ("No input files"); + fatal ("No input files specified"); /* Make a place to record the compiler output file names that correspond to the input files. */ diff --git a/gnu/usr.bin/cc/f77/f77.c b/gnu/usr.bin/cc/f77/f77.c index 5920a07..e9f86c2 100644 --- a/gnu/usr.bin/cc/f77/f77.c +++ b/gnu/usr.bin/cc/f77/f77.c @@ -377,7 +377,7 @@ main (argc, argv) programname = p; if (argc == 1) - fatal ("No input files specified.\n"); + fatal ("No input files specified"); #ifndef __MSDOS__ /* We do a little magic to find out where the main gcc executable |