From 6dc4e81071bbd220654bafc0329101c70ba2457c Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Wed, 20 Sep 2006 19:27:11 +0000 Subject: [PATCH] style(9) While I'm here add a MFC reminder, I forgot it in the previous commit. Noticed by: ssouhlal MFC after: 1 week --- sys/i386/linux/linux_machdep.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/i386/linux/linux_machdep.c b/sys/i386/linux/linux_machdep.c index 7ed4ba953660..f52386d4ae14 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;