Fix the return value of fwscanf(3) when encountering an early matching
authorkevlo <kevlo@openbsd.org>
Fri, 8 Dec 2017 01:03:51 +0000 (01:03 +0000)
committerkevlo <kevlo@openbsd.org>
Fri, 8 Dec 2017 01:03:51 +0000 (01:03 +0000)
commit367240bd3bf23d13ce0cdd2fdaa27972e74e4d80
tree43988807c77ccf8a30ee46289a8976724d9adfe7
parent3ecfc5845189f17d35f854f690e45c450b522529
Fix the return value of fwscanf(3) when encountering an early matching
failure.  This change brings fwscanf(3) back in line with fscanf(3).

From FreeBSD; ok deraadt@, millert@
lib/libc/stdio/vfwscanf.c