Message ID | 20240330133502.72795-2-cgoettsche@seltendoof.de (mailing list archive) |
---|---|
State | Accepted |
Commit | a39e474fc6cb |
Delegated to: | Petr Lautrbach |
Headers | show |
Series | [1/2] checkpolicy: free identifiers on invalid typebounds | expand |
diff --git a/checkpolicy/policy_define.c b/checkpolicy/policy_define.c index 92d1e5f2..4fc6c417 100644 --- a/checkpolicy/policy_define.c +++ b/checkpolicy/policy_define.c @@ -1426,7 +1426,7 @@ static int define_typebounds_helper(const char *bounds_id, const char *type_id) bounds = hashtab_search(policydbp->p_types.table, bounds_id); if (!bounds || bounds->flavor == TYPE_ATTRIB) { - yyerror2("hoge unknown type %s", bounds_id); + yyerror2("type %s is not declared", bounds_id); return -1; }