mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-18 08:52:42 +01:00
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>
This commit is contained in:
parent
eb2e3d5f9b
commit
c7e5c6a843
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9505
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user