diff -ur checkpolicy-1.16/policy_parse.y checkpolicy-1.16-old/policy_parse.y --- checkpolicy-1.16/policy_parse.y 2004-08-13 15:07:52.000000000 -0500 +++ checkpolicy-1.16-old/policy_parse.y 2004-09-09 11:00:11.081574240 -0500 @@ -2583,9 +2583,6 @@ if (policyvers < POLICYDB_VERSION_NLCLASS && (cladatum->value >= SECCLASS_NETLINK_ROUTE_SOCKET && cladatum->value <= SECCLASS_NETLINK_DNRT_SOCKET)) { - sprintf(errormsg, "remapping class %s to netlink_socket " - "for policy version %d", id, policyvers); - yywarn(errormsg); classvalue = SECCLASS_NETLINK_SOCKET; suppress = 1; } else @@ -2761,9 +2758,6 @@ if (policyvers < POLICYDB_VERSION_NLCLASS && (cladatum->value >= SECCLASS_NETLINK_ROUTE_SOCKET && cladatum->value <= SECCLASS_NETLINK_DNRT_SOCKET)) { - sprintf(errormsg, "remapping class %s to netlink_socket " - "for policy version %d", id, policyvers); - yywarn(errormsg); classvalue = SECCLASS_NETLINK_SOCKET; suppress = 1; } else