summaryrefslogtreecommitdiffstats
path: root/arith.c
diff options
context:
space:
mode:
Diffstat (limited to 'arith.c')
-rw-r--r--arith.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arith.c b/arith.c
index 3d484550..2bfda382 100644
--- a/arith.c
+++ b/arith.c
@@ -3841,7 +3841,8 @@ val toint(val obj, val base)
}
/* fallthrough */
default:
- uw_throwf(error_s, lit("toint: ~s is not convertible to integer"), obj, nao);
+ uw_throwf(error_s, lit("~a: ~s is not convertible to integer"),
+ self, obj, nao);
}
}