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