summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-09-20 19:27:11 +0000
committernetchild <netchild@FreeBSD.org>2006-09-20 19:27:11 +0000
commit81cdbc19d7d89494d0822a05b5e7331310a0ded1 (patch)
tree42d53be3b2a353086738c9b859be42da501cd7ea /sys/i386
parentd0248e472fa247af29e5075a3f56c787b47fe780 (diff)
downloadFreeBSD-src-81cdbc19d7d89494d0822a05b5e7331310a0ded1.zip
FreeBSD-src-81cdbc19d7d89494d0822a05b5e7331310a0ded1.tar.gz
style(9)
While I'm here add a MFC reminder, I forgot it in the previous commit. Noticed by: ssouhlal MFC after: 1 week
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/linux/linux_machdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/linux/linux_machdep.c b/sys/i386/linux/linux_machdep.c
index 7ed4ba9..f52386d 100644
--- a/sys/i386/linux/linux_machdep.c
+++ b/sys/i386/linux/linux_machdep.c
@@ -612,7 +612,7 @@ linux_mmap_common(struct thread *td, struct l_mmap_argv *linux_args)
*/
if (! ((linux_args->flags & LINUX_MAP_SHARED) ^
(linux_args->flags & LINUX_MAP_PRIVATE)))
- return EINVAL;
+ return (EINVAL);
if (linux_args->flags & LINUX_MAP_SHARED)
bsd_args.flags |= MAP_SHARED;
@@ -711,16 +711,16 @@ linux_mmap_common(struct thread *td, struct l_mmap_argv *linux_args)
*/
if ((error = fget(td, linux_args->fd, &fp)) != 0)
- return error;
+ return (error);
if (fp->f_type != DTYPE_VNODE) {
fdrop(fp, td);
- return EINVAL;
+ return (EINVAL);
}
/* Linux mmap() just fails for O_WRONLY files */
if (! (fp->f_flag & FREAD)) {
fdrop(fp, td);
- return EACCES;
+ return (EACCES);
}
bsd_args.fd = linux_args->fd;
OpenPOWER on IntegriCloud