aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarfout.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/dwarfout.c')
-rw-r--r--gcc/dwarfout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c
index b6d150f..8555443 100644
--- a/gcc/dwarfout.c
+++ b/gcc/dwarfout.c
@@ -6285,7 +6285,7 @@ dwarfout_init (main_input_filename)
char *dirname;
if (!pwd)
- fatal_io_error ("can't get current directory");
+ fatal_error ("can't get current directory: %m");
dirname = concat (pwd, "/", NULL);
ASM_OUTPUT_DWARF_STRING_NEWLINE (asm_out_file, dirname);