summaryrefslogtreecommitdiff
path: root/universal.c
diff options
context:
space:
mode:
Diffstat (limited to 'universal.c')
-rw-r--r--universal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/universal.c b/universal.c
index d4aa97e65c..172b3d0f8a 100644
--- a/universal.c
+++ b/universal.c
@@ -63,7 +63,7 @@ S_isa_lookup(pTHX_ HV *stash, const char *name, const HV* const name_stash,
SV* const basename_sv = *svp++;
HV* basestash = gv_stashsv(basename_sv, 0);
if (!basestash) {
- if (ckWARN(WARN_MISC))
+ if (ckWARN(WARN_SYNTAX))
Perl_warner(aTHX_ packWARN(WARN_SYNTAX),
"Can't locate package %"SVf" for the parents of %s",
SVfARG(basename_sv), hvname);