s/strerror/safe_strerror/

This commit is contained in:
Andrew Cagney 2002-03-27 21:35:35 +00:00
parent d96429cda9
commit dc6728652c
7 changed files with 44 additions and 35 deletions

View file

@ -2280,7 +2280,7 @@ tracepoint_save_command (char *args, int from_tty)
pathname = tilde_expand (args);
if (!(fp = fopen (pathname, "w")))
error ("Unable to open file '%s' for saving tracepoints (%s)",
args, strerror (errno));
args, safe_strerror (errno));
xfree (pathname);
ALL_TRACEPOINTS (tp)