macro pedant

Obtained from:	KAME
MFC after:	1 week
This commit is contained in:
Hajimu UMEMOTO 2003-08-17 17:47:22 +00:00
parent 70aff8bf47
commit ceb128190f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119040

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);