svn commit: r274728 - projects/sendfile/sys/vm

Gleb Smirnoff glebius at FreeBSD.org
Wed Nov 19 23:32:10 UTC 2014


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


More information about the svn-src-projects mailing list