localedef(1): Fix mismatch.

Obtained from:	illumos
X-MFC with:	r314974
This commit is contained in:
Pedro F. Giffuni 2017-03-10 16:06:14 +00:00
parent 8999a290ab
commit 56b1edd680

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