diff options
author | anton <anton@cvs.openbsd.org> | 2019-07-22 16:43:11 +0000 |
---|---|---|
committer | anton <anton@cvs.openbsd.org> | 2019-07-22 16:43:11 +0000 |
commit | c42b46d3dbff0b06bfa36a2a7e7fec805938f89a (patch) | |
tree | fa60589b6afd4603162b585a663d7b86d9d6de6b /sys/kern | |
parent | 32841a4b4eabaf2105a91cc17451ab9b6b21f8a3 (diff) |
Correct minor style nit in sys_getdents() for consistency, missing parens around
return expression.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index f6a3f33cbdd..9a59d467756 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_syscalls.c,v 1.324 2019/07/22 16:39:29 anton Exp $ */ +/* $OpenBSD: vfs_syscalls.c,v 1.325 2019/07/22 16:43:10 anton Exp $ */ /* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */ /* @@ -3004,7 +3004,7 @@ sys_getdents(struct proc *p, void *v, register_t *retval) buflen = SCARG(uap, buflen); if (buflen > INT_MAX) - return EINVAL; + return (EINVAL); if ((error = getvnode(p, SCARG(uap, fd), &fp)) != 0) return (error); if ((fp->f_flag & FREAD) == 0) { |