s/strerror/safe_strerror/
This commit is contained in:
parent
d96429cda9
commit
dc6728652c
7 changed files with 44 additions and 35 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue