Author: bz Date: Sun Jan 22 10:41:58 2012 New Revision: 230452 URL: http://svn.freebsd.org/changeset/base/230452
Log: Make #error messages string-literals and remove punctuation. Reported by: bde (for ip_divert) Reviewed by: bde MFC after: 3 days Modified: head/sys/netinet/ip_divert.c head/sys/netinet/ip_gre.c head/sys/netinet/ipfw/ip_fw2.c Modified: head/sys/netinet/ip_divert.c ============================================================================== --- head/sys/netinet/ip_divert.c Sun Jan 22 10:24:12 2012 (r230451) +++ head/sys/netinet/ip_divert.c Sun Jan 22 10:41:58 2012 (r230452) @@ -34,7 +34,7 @@ __FBSDID("$FreeBSD$"); #include "opt_inet6.h" #include "opt_sctp.h" #ifndef INET -#error "IPDIVERT requires INET." +#error "IPDIVERT requires INET" #endif #include <sys/param.h> Modified: head/sys/netinet/ip_gre.c ============================================================================== --- head/sys/netinet/ip_gre.c Sun Jan 22 10:24:12 2012 (r230451) +++ head/sys/netinet/ip_gre.c Sun Jan 22 10:41:58 2012 (r230452) @@ -70,7 +70,7 @@ __FBSDID("$FreeBSD$"); #include <netinet/ip_gre.h> #include <machine/in_cksum.h> #else -#error ip_gre input without IP? +#error "ip_gre requires INET" #endif #ifdef NETATALK Modified: head/sys/netinet/ipfw/ip_fw2.c ============================================================================== --- head/sys/netinet/ipfw/ip_fw2.c Sun Jan 22 10:24:12 2012 (r230451) +++ head/sys/netinet/ipfw/ip_fw2.c Sun Jan 22 10:41:58 2012 (r230452) @@ -34,7 +34,7 @@ __FBSDID("$FreeBSD$"); #include "opt_ipdivert.h" #include "opt_inet.h" #ifndef INET -#error IPFIREWALL requires INET. +#error "IPFIREWALL requires INET" #endif /* INET */ #include "opt_inet6.h" #include "opt_ipsec.h" _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"