* ldfile.c (ldlang_open_file, ldfile_open_command_file),

main.c (main): Print the errno string in the error message.
This commit is contained in:
David MacKenzie 1993-07-15 04:46:25 +00:00
parent e91ceb3c59
commit cffdcde9e9
3 changed files with 69 additions and 49 deletions

View file

@ -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);
}
}