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

Gleb Smirnoff glebius at FreeBSD.org
Sun Sep 14 11:00:45 UTC 2014


Author: glebius
Date: Sun Sep 14 11:00:44 2014
New Revision: 271587
URL: http://svnweb.freebsd.org/changeset/base/271587

Log:
  Fix bug in r271582.

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

Modified: projects/sendfile/sys/kern/uipc_syscalls.c
==============================================================================
--- projects/sendfile/sys/kern/uipc_syscalls.c	Sun Sep 14 10:27:36 2014	(r271586)
+++ projects/sendfile/sys/kern/uipc_syscalls.c	Sun Sep 14 11:00:44 2014	(r271587)
@@ -3200,6 +3200,8 @@ retry_space:
 		}
 
 		if (m == NULL) {
+			KASSERT(softerr, ("%s: m NULL, no error", __func__));
+			error = softerr;
 			free(sfio, M_TEMP);
 			goto done;
 		}


More information about the svn-src-projects mailing list