diff options
author | bz <bz@FreeBSD.org> | 2012-01-22 10:41:58 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2012-01-22 10:41:58 +0000 |
commit | 2e7b42f00f4c77a5b169c93d458a8fdedac13c2a (patch) | |
tree | ff91bfa5662aa5e2f14ddc1554d72ca9bf249472 /sys | |
parent | 0bff2999ef046949afb901ef7339258b70a228c0 (diff) | |
download | FreeBSD-src-2e7b42f00f4c77a5b169c93d458a8fdedac13c2a.zip FreeBSD-src-2e7b42f00f4c77a5b169c93d458a8fdedac13c2a.tar.gz |
Make #error messages string-literals and remove punctuation.
Reported by: bde (for ip_divert)
Reviewed by: bde
MFC after: 3 days
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_divert.c | 2 | ||||
-rw-r--r-- | sys/netinet/ip_gre.c | 2 | ||||
-rw-r--r-- | sys/netinet/ipfw/ip_fw2.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c index 6be6d8b..b366a65 100644 --- a/sys/netinet/ip_divert.c +++ b/sys/netinet/ip_divert.c @@ -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> diff --git a/sys/netinet/ip_gre.c b/sys/netinet/ip_gre.c index ae85e9f..d0274de 100644 --- a/sys/netinet/ip_gre.c +++ b/sys/netinet/ip_gre.c @@ -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 diff --git a/sys/netinet/ipfw/ip_fw2.c b/sys/netinet/ipfw/ip_fw2.c index eec67cc..12a7fb9 100644 --- a/sys/netinet/ipfw/ip_fw2.c +++ b/sys/netinet/ipfw/ip_fw2.c @@ -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" |