svn commit: r258814 - projects/sendfile/sys/kern

Gleb Smirnoff glebius at FreeBSD.org
Sun Dec 1 20:38:52 UTC 2013


Author: glebius
Date: Sun Dec  1 20:38:51 2013
New Revision: 258814
URL: http://svnweb.freebsd.org/changeset/base/258814

Log:
  Make it compilable.

Modified:
  projects/sendfile/sys/kern/uipc_syscalls.c

Modified: projects/sendfile/sys/kern/uipc_syscalls.c
==============================================================================
--- projects/sendfile/sys/kern/uipc_syscalls.c	Sun Dec  1 20:32:16 2013	(r258813)
+++ projects/sendfile/sys/kern/uipc_syscalls.c	Sun Dec  1 20:38:51 2013	(r258814)
@@ -2564,7 +2564,7 @@ retry_space:
 			 * threads might exhaust the buffers and then
 			 * deadlock.
 			 */
-			sf = sf_buf_alloc(pg, m != NULL : SFB_NOWAIT ? sfwait);
+			sf = sf_buf_alloc(pg, m != NULL ? SFB_NOWAIT : sfwait);
 			if (sf == NULL) {
 				SFSTAT_INC(sf_allocfail);
 				vm_page_lock(pg);


More information about the svn-src-projects mailing list