More unparenthesized return values.
This commit is contained in:
parent
1c43e2766b
commit
d41457da80
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user