summaryrefslogtreecommitdiff
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
commitaf7adf25a46c18f78ea9d35cedeb36b1444d3187 (patch)
treee46d042323a874134e8a6a332f6232ab316da32e /gdb/inflow.c
parent408d1e8721230bdf3d420197847982ef48f18511 (diff)
downloadgdb-af7adf25a46c18f78ea9d35cedeb36b1444d3187.tar.gz
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 66671f7a681..9cf24f4718d 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 */