summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/ld
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-07-13 08:30:07 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-07-13 08:30:07 +0000
commitac48d7123c655e4c775141845456ef4b4c13bf95 (patch)
treee8bd7ca7809bc1cd06b91723c712544057d3d02d /gnu/usr.bin/ld
parent52276e26f3765ed6d911baa4a74f4c750de878f2 (diff)
downloadFreeBSD-src-ac48d7123c655e4c775141845456ef4b4c13bf95.zip
FreeBSD-src-ac48d7123c655e4c775141845456ef4b4c13bf95.tar.gz
Make ld's error messages consistent with gcc when no input files
are given on the command line. Submitted by: Thomas Graichen <graichen@omega.physik.fu-berlin.de>
Diffstat (limited to 'gnu/usr.bin/ld')
-rw-r--r--gnu/usr.bin/ld/ld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/ld/ld.c b/gnu/usr.bin/ld/ld.c
index 5196ef0..20bb152 100644
--- a/gnu/usr.bin/ld/ld.c
+++ b/gnu/usr.bin/ld/ld.c
@@ -32,7 +32,7 @@ static char sccsid[] = "@(#)ld.c 6.10 (Berkeley) 5/22/91";
Set, indirect, and warning symbol features added by Randy Smith. */
/*
- * $Id: ld.c,v 1.27 1995/05/30 05:01:44 rgrimes Exp $
+ * $Id: ld.c,v 1.28 1995/06/14 06:25:09 joerg Exp $
*/
/* Define how to initialize system-dependent header fields. */
@@ -490,7 +490,7 @@ decode_command(argc, argv)
}
if (!number_of_files)
- errx(1, "no input files");
+ errx(1, "No input files specified");
p = file_table = (struct file_entry *)
xmalloc(number_of_files * sizeof(struct file_entry));
OpenPOWER on IntegriCloud