Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2008 12:22:34 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r184411 - head/sys/kern
Message-ID:  <200810281222.m9SCMY9x093839@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Tue Oct 28 12:22:33 2008
New Revision: 184411
URL: http://svn.freebsd.org/changeset/base/184411

Log:
  Style return statements in vn_pollrecord().

Modified:
  head/sys/kern/vfs_subr.c

Modified: head/sys/kern/vfs_subr.c
==============================================================================
--- head/sys/kern/vfs_subr.c	Tue Oct 28 12:15:11 2008	(r184410)
+++ head/sys/kern/vfs_subr.c	Tue Oct 28 12:22:33 2008	(r184411)
@@ -3252,12 +3252,12 @@ vn_pollrecord(struct vnode *vp, struct t
 		vp->v_pollinfo->vpi_revents &= ~events;
 
 		mtx_unlock(&vp->v_pollinfo->vpi_lock);
-		return events;
+		return (events);
 	}
 	vp->v_pollinfo->vpi_events |= events;
 	selrecord(td, &vp->v_pollinfo->vpi_selinfo);
 	mtx_unlock(&vp->v_pollinfo->vpi_lock);
-	return 0;
+	return (0);
 }
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810281222.m9SCMY9x093839>