diff options
Diffstat (limited to 'gdb/go32-nat.c')
-rw-r--r-- | gdb/go32-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c index de5e58676d3..31ac8d350a0 100644 --- a/gdb/go32-nat.c +++ b/gdb/go32-nat.c @@ -804,7 +804,7 @@ go32_terminal_inferior (void) { redir_to_debugger (&child_cmd); error ("Cannot redirect standard handles for program: %s.", - strerror (errno)); + safe_strerror (errno)); } /* set the console device of the inferior to whatever mode (raw or cooked) we found it last time */ @@ -838,7 +838,7 @@ go32_terminal_ours (void) { redir_to_child (&child_cmd); error ("Cannot redirect standard handles for debugger: %s.", - strerror (errno)); + safe_strerror (errno)); } } } |