aboutsummaryrefslogtreecommitdiff
path: root/gdb/inflow.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/inflow.c')
-rw-r--r--gdb/inflow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/inflow.c b/gdb/inflow.c
index 767cfd0..095c5f0 100644
--- a/gdb/inflow.c
+++ b/gdb/inflow.c
@@ -766,7 +766,8 @@ check_syscall (const char *msg, int result)
{
if (result < 0)
{
- print_sys_errmsg (msg, errno);
+ gdb_printf (gdb_stderr, "%s:%s.\n", msg,
+ safe_strerror (errno));
_exit (1);
}
}