mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
s/strerror/safe_strerror/
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user