diff options
author | des <des@FreeBSD.org> | 2004-01-10 13:03:43 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-01-10 13:03:43 +0000 |
commit | 65c30ff68da7d4bb0901d4be15f80a149ee9f71f (patch) | |
tree | 22c29446d6c96c75ce5907fc126f018ec0a88981 /sys | |
parent | c757933596d28b29d15291cb92520d1100cec3af (diff) | |
download | FreeBSD-src-65c30ff68da7d4bb0901d4be15f80a149ee9f71f.zip FreeBSD-src-65c30ff68da7d4bb0901d4be15f80a149ee9f71f.tar.gz |
Style: parenthesize return values.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/uipc_syscalls.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c index 2b6599c..c90530a 100644 --- a/sys/kern/uipc_syscalls.c +++ b/sys/kern/uipc_syscalls.c @@ -455,7 +455,7 @@ connect(td, uap) error = getsockaddr(&sa, uap->name, uap->namelen); if (error) - return error; + return (error); return (kern_connect(td, uap->s, sa)); } @@ -1606,7 +1606,7 @@ getsockaddr(namp, uaddr, len) int error; if (len > SOCK_MAXADDRLEN) - return ENAMETOOLONG; + return (ENAMETOOLONG); if (len < offsetof(struct sockaddr, sa_data[0])) return EINVAL; MALLOC(sa, struct sockaddr *, len, M_SONAME, M_WAITOK); @@ -1621,7 +1621,7 @@ getsockaddr(namp, uaddr, len) sa->sa_len = len; *namp = sa; } - return error; + return (error); } /* |