summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib.c b/lib.c
index 353a9614..fa430813 100644
--- a/lib.c
+++ b/lib.c
@@ -4795,10 +4795,10 @@ static void cat_str_measure(struct cat_str *cs, val item, int more_p, val self)
return;
}
- uw_throwf(error_s, lit("cat-str: ~s is not a character or string"),
+ uw_throwf(error_s, lit("~a: ~s is not a character or string"), self,
item, nao);
oflow:
- uw_throwf(error_s, lit("cat-str: string length overflow"), nao);
+ uw_throwf(error_s, lit("~a: string length overflow"), self, nao);
}
static void cat_str_alloc(struct cat_str *cs)