1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

More unparenthesized return values.

This commit is contained in:
Dag-Erling Smørgrav 2004-01-10 17:14:53 +00:00
parent 1c43e2766b
commit d41457da80
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124345

View File

@ -1608,7 +1608,7 @@ getsockaddr(namp, uaddr, len)
if (len > SOCK_MAXADDRLEN)
return (ENAMETOOLONG);
if (len < offsetof(struct sockaddr, sa_data[0]))
return EINVAL;
return (EINVAL);
MALLOC(sa, struct sockaddr *, len, M_SONAME, M_WAITOK);
error = copyin(uaddr, sa, len);
if (error) {