fix regression in getspnam[_r] error code for insufficient buffer size
authorRich Felker <dalias@aerifal.cx>
Wed, 21 Jun 2017 23:06:45 +0000 (19:06 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 21 Jun 2017 23:06:45 +0000 (19:06 -0400)
commit91d34c4533e6bf6eacad7a9f001f28f9e5ebc656
tree2a62a1ab010f6b877564bb26095c0df1a68eb81b
parent5948bc1a642e6cead729602c9e1a251d5f60bddb
fix regression in getspnam[_r] error code for insufficient buffer size

commit 2d7d05f031e014068a61d3076c6178513395d2ae wrongly changed ERANGE
to EINVAL, likely as the result of copy-and-paste error.
src/passwd/getspnam_r.c