summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-06-23 06:48:46 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-06-23 06:48:46 -0700
commit6c901d9d33b5fed938114224434cad2f2c069592 (patch)
treec200d058a86e7586f05a99a14a60c0c92e15e63c /lib.c
parent15ff86e427e8744994d6234586f8539abbf1c5f5 (diff)
downloadtxr-6c901d9d33b5fed938114224434cad2f2c069592.tar.gz
txr-6c901d9d33b5fed938114224434cad2f2c069592.tar.bz2
txr-6c901d9d33b5fed938114224434cad2f2c069592.zip
lib: use existing self variable.
* lib.c (populate_obj_hash): Refer to self, rather than hard coding function name prefix.
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib.c b/lib.c
index 0e8f628d..0ce2e43b 100644
--- a/lib.c
+++ b/lib.c
@@ -13484,8 +13484,8 @@ tail:
val label = cdr(prev_cell);
if (label == colon_k)
- uw_throwf(error_s, lit("print: unexpected duplicate object "
- "(misbehaving print method?)"), nao);
+ uw_throwf(error_s, lit("~a: unexpected duplicate object "
+ "(misbehaving print method?)"), self, nao);
if (prev_cell)
return;
} else {