Make #error messages string-literals and remove punctuation.

Reported by:	bde (for ip_divert)
Reviewed by:	bde
MFC after:	3 days
This commit is contained in:
bz 2012-01-22 10:41:58 +00:00
parent 0bff2999ef
commit 2e7b42f00f
3 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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

View File

@ -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"