Fix argument order in a call to mtx_init.

MFC after:	1 week
This commit is contained in:
mjacob 2009-12-17 00:22:56 +00:00
parent a2f49b89b7
commit c0a38f802d

View File

@ -1886,7 +1886,7 @@ kern_sendfile(struct thread *td, struct sendfile_args *uap,
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");
}