From 08adfbbf62c01fcea99d15b9b3f9637d5e7ddf11 Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Sun, 22 Jan 2012 10:41:58 +0000 Subject: [PATCH] Make #error messages string-literals and remove punctuation. Reported by: bde (for ip_divert) Reviewed by: bde MFC after: 3 days --- sys/netinet/ip_divert.c | 2 +- sys/netinet/ip_gre.c | 2 +- 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 6be6d8b4290..b366a65b8b7 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 diff --git a/sys/netinet/ip_gre.c b/sys/netinet/ip_gre.c index ae85e9f0ad4..d0274decec4 100644 --- a/sys/netinet/ip_gre.c +++ b/sys/netinet/ip_gre.c @@ -70,7 +70,7 @@ __FBSDID("$FreeBSD$"); #include #include #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 eec67cc9682..12a7fb9594c 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"