Skip to content
Browse files

fix a format string error introduced in the XS re-work

  • Loading branch information...
1 parent 9874730 commit b6565be66d03f4264b0cc31ce9172e64c235a70b @tonycoz committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 Imager.xs
View
2 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)));
}

0 comments on commit b6565be

Please sign in to comment.
Something went wrong with that request. Please try again.