diff options
author | ariff <ariff@FreeBSD.org> | 2007-03-15 14:57:54 +0000 |
---|---|---|
committer | ariff <ariff@FreeBSD.org> | 2007-03-15 14:57:54 +0000 |
commit | 1acd59dccc72cbf4b0381a199232feb74e807426 (patch) | |
tree | 716eb1757c48bde8d737c6b39ce46e2e1fbcc47d /sys/dev/sound/midi/sequencer.c | |
parent | b29f3e283814c3d13acb9dbabe6ac17e470c3660 (diff) | |
download | FreeBSD-src-1acd59dccc72cbf4b0381a199232feb74e807426.zip FreeBSD-src-1acd59dccc72cbf4b0381a199232feb74e807426.tar.gz |
NULL instead of 0 in mtx_init() .
Diffstat (limited to 'sys/dev/sound/midi/sequencer.c')
-rw-r--r-- | sys/dev/sound/midi/sequencer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sound/midi/sequencer.c b/sys/dev/sound/midi/sequencer.c index 6af7662..d9bf387 100644 --- a/sys/dev/sound/midi/sequencer.c +++ b/sys/dev/sound/midi/sequencer.c @@ -546,7 +546,7 @@ seq_addunit(void) scp->flags = 0; - mtx_init(&scp->seq_lock, "seqflq", 0, 0); + mtx_init(&scp->seq_lock, "seqflq", NULL, 0); cv_init(&scp->state_cv, "seqstate"); cv_init(&scp->empty_cv, "seqempty"); cv_init(&scp->reset_cv, "seqtimer"); @@ -692,7 +692,7 @@ seq_modevent(module_t mod, int type, void *data) switch (type) { case MOD_LOAD: - mtx_init(&seqinfo_mtx, "seqmod", 0, 0); + mtx_init(&seqinfo_mtx, "seqmod", NULL, 0); retval = seq_addunit(); break; |