aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1993-07-15 04:46:25 +0000
committerDavid MacKenzie <djm@cygnus>1993-07-15 04:46:25 +0000
commitcffdcde9e92864149a4753fbbd5e434152034402 (patch)
tree0641ad757b0f959f96245aba374bca69577b2f65 /ld/ldmain.c
parente91ceb3c5959094b3f49e41d1c35d21c6300530d (diff)
downloadgdb-cffdcde9e92864149a4753fbbd5e434152034402.zip
gdb-cffdcde9e92864149a4753fbbd5e434152034402.tar.gz
gdb-cffdcde9e92864149a4753fbbd5e434152034402.tar.bz2
* ldfile.c (ldlang_open_file, ldfile_open_command_file),
main.c (main): Print the errno string in the error message.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index 9239c4a..9762983 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -205,7 +205,7 @@ main (argc, argv)
config.map_file = fopen (config.map_filename, FOPEN_WT);
if (config.map_file == (FILE *) NULL)
{
- einfo ("%P%F: can't open map file %s\n",
+ einfo ("%P%F: can't open map file %s, %E\n",
config.map_filename);
}
}