From b6565be66d03f4264b0cc31ce9172e64c235a70b Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Mon, 1 Jul 2013 22:15:42 +1000 Subject: [PATCH] fix a format string error introduced in the XS re-work --- Imager.xs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Imager.xs b/Imager.xs index faab38dd..216bfb48 100644 --- a/Imager.xs +++ b/Imager.xs @@ -147,7 +147,7 @@ calloc_temp(pTHX_ size_t size) { static i_color S_sv_to_i_color(pTHX_ SV *sv, const char *pname) { if (!sv_derived_from(sv, "Imager::Color")) { - croak("%s: not a color object"); + croak("%s: not a color object", pname); } return *INT2PTR(i_color *, SvIV((SV *)SvRV(sv))); } -- 2.39.2