aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.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
commitdc6728652ceb99c628f7e9ad642dd2eb2d01e2bd (patch)
treebb244d16bcf62ae36cde4cf120b32a9e75764376 /gdb/tracepoint.c
parentd96429cda9c28efea76a640032cb73f2c02679e4 (diff)
downloadgdb-dc6728652ceb99c628f7e9ad642dd2eb2d01e2bd.zip
gdb-dc6728652ceb99c628f7e9ad642dd2eb2d01e2bd.tar.gz
gdb-dc6728652ceb99c628f7e9ad642dd2eb2d01e2bd.tar.bz2
s/strerror/safe_strerror/
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r--gdb/tracepoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index 41c52d3..260012c 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -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)