* 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:
parent
e91ceb3c59
commit
cffdcde9e9
3 changed files with 69 additions and 49 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue