macro pedant

Obtained from:	KAME
MFC after:	1 week
This commit is contained in:
ume 2003-08-17 17:47:22 +00:00
parent 6724ae5e2e
commit 8ef4eb362d

View File

@ -2392,10 +2392,10 @@ ifflags(flags)
strlcpy(buf, "", sizeof(buf));
#define IFFLAG(s, f) \
do { \
if (flags & f) { \
if (flags & (f)) { \
if (buf[0]) \
strlcat(buf, ",", sizeof(buf)); \
strlcat(buf, s, sizeof(buf)); \
strlcat(buf, (s), sizeof(buf)); \
} \
} while (0)
IFFLAG("UP", IFF_UP);