svn commit: r200621 - head/sys/kern
Matt Jacob
mjacob at FreeBSD.org
Thu Dec 17 00:22:56 UTC 2009
Author: mjacob
Date: Thu Dec 17 00:22:56 2009
New Revision: 200621
URL: http://svn.freebsd.org/changeset/base/200621
Log:
Fix argument order in a call to mtx_init.
MFC after: 1 week
Modified:
head/sys/kern/uipc_syscalls.c
Modified: head/sys/kern/uipc_syscalls.c
==============================================================================
--- head/sys/kern/uipc_syscalls.c Thu Dec 17 00:21:12 2009 (r200620)
+++ head/sys/kern/uipc_syscalls.c Thu Dec 17 00:22:56 2009 (r200621)
@@ -1886,7 +1886,7 @@ kern_sendfile(struct thread *td, struct
if (uap->flags & SF_SYNC) {
sfs = malloc(sizeof *sfs, M_TEMP, M_WAITOK);
memset(sfs, 0, sizeof *sfs);
- mtx_init(&sfs->mtx, "sendfile", MTX_DEF, 0);
+ mtx_init(&sfs->mtx, "sendfile", NULL, MTX_DEF);
cv_init(&sfs->cv, "sendfile");
}
More information about the svn-src-head
mailing list