From 69b437bc9469fefbee58a9fe3a5f9a3c41ad21cb Mon Sep 17 00:00:00 2001 From: tedu Date: Fri, 19 Dec 2014 05:36:28 +0000 Subject: [PATCH] add messages to #error so we know what's what (and so unifdef doesn't poop) --- sys/net/pfvar.h | 4 ++-- sys/netinet/ip_carp.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index 7f2fb488edb..25700e1f95c 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.403 2014/09/08 18:10:01 bluhm Exp $ */ +/* $OpenBSD: pfvar.h,v 1.404 2014/12/19 05:36:28 tedu Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -54,7 +54,7 @@ struct ip6_hdr; #define PF_MD5_DIGEST_LENGTH 16 #ifdef MD5_DIGEST_LENGTH #if PF_MD5_DIGEST_LENGTH != MD5_DIGEST_LENGTH -#error +#error md5 digest length mismatch #endif #endif diff --git a/sys/netinet/ip_carp.h b/sys/netinet/ip_carp.h index b73e2d8be7a..21aa417bd50 100644 --- a/sys/netinet/ip_carp.h +++ b/sys/netinet/ip_carp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_carp.h,v 1.31 2014/04/20 14:54:39 henning Exp $ */ +/* $OpenBSD: ip_carp.h,v 1.32 2014/12/19 05:36:28 tedu Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff. All rights reserved. @@ -115,7 +115,7 @@ struct carpstats { #define CARPDEVNAMSIZ 16 #ifdef IFNAMSIZ #if CARPDEVNAMSIZ != IFNAMSIZ -#error +#error namsiz mismatch #endif #endif -- 2.20.1