aboutsummaryrefslogtreecommitdiff
path: root/gdb/inflow.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-03-27 21:35:35 +0000
committerAndrew Cagney <cagney@redhat.com>2002-03-27 21:35:35 +0000
commitdc6728652ceb99c628f7e9ad642dd2eb2d01e2bd (patch)
treebb244d16bcf62ae36cde4cf120b32a9e75764376 /gdb/inflow.c
parentd96429cda9c28efea76a640032cb73f2c02679e4 (diff)
downloadgdb-dc6728652ceb99c628f7e9ad642dd2eb2d01e2bd.zip
gdb-dc6728652ceb99c628f7e9ad642dd2eb2d01e2bd.tar.gz
gdb-dc6728652ceb99c628f7e9ad642dd2eb2d01e2bd.tar.bz2
s/strerror/safe_strerror/
Diffstat (limited to 'gdb/inflow.c')
-rw-r--r--gdb/inflow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/inflow.c b/gdb/inflow.c
index 66671f7..9cf24f4 100644
--- a/gdb/inflow.c
+++ b/gdb/inflow.c
@@ -171,7 +171,7 @@ gdb_has_a_terminal (void)
#define OOPSY(what) \
if (result == -1) \
fprintf_unfiltered(gdb_stderr, "[%s failed in terminal_inferior: %s]\n", \
- what, strerror (errno))
+ what, safe_strerror (errno))
static void terminal_ours_1 (int);
@@ -374,7 +374,7 @@ terminal_ours_1 (int output_only)
such situations as well. */
if (result == -1)
fprintf_unfiltered (gdb_stderr, "[tcsetpgrp failed in terminal_ours: %s]\n",
- strerror (errno));
+ safe_strerror (errno));
#endif
#endif /* termios */