summaryrefslogtreecommitdiff
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
commitaf7adf25a46c18f78ea9d35cedeb36b1444d3187 (patch)
treee46d042323a874134e8a6a332f6232ab316da32e /gdb/valarith.c
parent408d1e8721230bdf3d420197847982ef48f18511 (diff)
downloadgdb-af7adf25a46c18f78ea9d35cedeb36b1444d3187.tar.gz
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 5852ac6a8a1..c3d537a1923 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: