localedef(1): Fix mismatch.

Obtained from:	illumos
X-MFC with:	r314974
This commit is contained in:
pfg 2017-03-10 16:06:14 +00:00
parent eab9784db4
commit d5f408f80a

View File

@ -384,7 +384,7 @@ dump_ctype(void)
conflict++;
if ((ctn->ctype & _ISSPACE) && (ctn->ctype & _ISGRAPH))
conflict++;
if ((ctn->ctype & _ISCNTRL) & _ISPRINT)
if ((ctn->ctype & _ISCNTRL) && (ctn->ctype & _ISPRINT))
conflict++;
if ((wc == ' ') && (ctn->ctype & (_ISPUNCT|_ISGRAPH)))
conflict++;