Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2014 23:32:09 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r274728 - projects/sendfile/sys/vm
Message-ID:  <201411192332.sAJNW9nk081549@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Wed Nov 19 23:32:09 2014
New Revision: 274728
URL: https://svnweb.freebsd.org/changeset/base/274728

Log:
  Minor style(9) nit.
  
  Submitted by:	kib

Modified:
  projects/sendfile/sys/vm/vnode_pager.c

Modified: projects/sendfile/sys/vm/vnode_pager.c
==============================================================================
--- projects/sendfile/sys/vm/vnode_pager.c	Wed Nov 19 23:07:46 2014	(r274727)
+++ projects/sendfile/sys/vm/vnode_pager.c	Wed Nov 19 23:32:09 2014	(r274728)
@@ -1014,7 +1014,7 @@ vnode_pager_generic_getpages(struct vnod
 		relpbuf(bp, &vnode_pbuf_freecnt);
 	}
 
-	return (error ? VM_PAGER_ERROR : VM_PAGER_OK);
+	return (error != 0 ? VM_PAGER_ERROR : VM_PAGER_OK);
 }
 
 static void



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