aboutsummaryrefslogtreecommitdiff
path: root/gdb/valarith.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/valarith.c
parentd96429cda9c28efea76a640032cb73f2c02679e4 (diff)
downloadgdb-dc6728652ceb99c628f7e9ad642dd2eb2d01e2bd.zip
gdb-dc6728652ceb99c628f7e9ad642dd2eb2d01e2bd.tar.gz
gdb-dc6728652ceb99c628f7e9ad642dd2eb2d01e2bd.tar.bz2
s/strerror/safe_strerror/
Diffstat (limited to 'gdb/valarith.c')
-rw-r--r--gdb/valarith.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/valarith.c b/gdb/valarith.c
index 5852ac6..c3d537a 100644
--- a/gdb/valarith.c
+++ b/gdb/valarith.c
@@ -759,7 +759,7 @@ value_binop (struct value *arg1, struct value *arg2, enum exp_opcode op)
case BINOP_EXP:
v = pow (v1, v2);
if (errno)
- error ("Cannot perform exponentiation: %s", strerror (errno));
+ error ("Cannot perform exponentiation: %s", safe_strerror (errno));
break;
default:
@@ -897,7 +897,7 @@ value_binop (struct value *arg1, struct value *arg2, enum exp_opcode op)
case BINOP_EXP:
v = pow (v1, v2);
if (errno)
- error ("Cannot perform exponentiation: %s", strerror (errno));
+ error ("Cannot perform exponentiation: %s", safe_strerror (errno));
break;
case BINOP_REM:
@@ -1021,7 +1021,7 @@ value_binop (struct value *arg1, struct value *arg2, enum exp_opcode op)
case BINOP_EXP:
v = pow (v1, v2);
if (errno)
- error ("Cannot perform exponentiation: %s", strerror (errno));
+ error ("Cannot perform exponentiation: %s", safe_strerror (errno));
break;
case BINOP_REM: