summaryrefslogtreecommitdiffstats
path: root/XS.xs
diff options
context:
space:
mode:
Diffstat (limited to 'XS.xs')
-rw-r--r--XS.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/XS.xs b/XS.xs
index 98648ca..db34488 100644
--- a/XS.xs
+++ b/XS.xs
@@ -153,7 +153,7 @@ vartype_t string_to_vartype(char *vartype)
return VAR_IO;
}
else {
- croak("Type must be one of 'SCALAR', 'ARRAY', 'HASH', 'CODE', or 'IO'");
+ croak("Type must be one of 'SCALAR', 'ARRAY', 'HASH', 'CODE', or 'IO', not '%s'", vartype);
}
}