diff options
author | njl <njl@FreeBSD.org> | 2006-07-12 06:29:59 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2006-07-12 06:29:59 +0000 |
commit | 48c27de98925d031a427394c2a5b9eafffb8e962 (patch) | |
tree | 6978b182792d9d12f6c189cf17afcab7f410b113 /sys/dev/sound/midi/sequencer.c | |
parent | ecacf536b0f70b9b9579910c7d6dd8b5a9608136 (diff) | |
download | FreeBSD-src-48c27de98925d031a427394c2a5b9eafffb8e962.zip FreeBSD-src-48c27de98925d031a427394c2a5b9eafffb8e962.tar.gz |
Move debug printfs under the proper macro.
Diffstat (limited to 'sys/dev/sound/midi/sequencer.c')
-rw-r--r-- | sys/dev/sound/midi/sequencer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sound/midi/sequencer.c b/sys/dev/sound/midi/sequencer.c index b179492..17abb4b 100644 --- a/sys/dev/sound/midi/sequencer.c +++ b/sys/dev/sound/midi/sequencer.c @@ -421,7 +421,7 @@ seq_eventthread(void *arg) char event[EV_SZ]; mtx_lock(&scp->seq_lock); - printf("seq_eventthread started\n"); + SEQ_DEBUG(2,printf("seq_eventthread started\n")); while(scp->done == 0) { restart: while (scp->playing == 0) { @@ -453,7 +453,7 @@ done: cv_broadcast(&scp->th_cv); mtx_unlock(&scp->seq_lock); mtx_lock(&Giant); - printf("seq_eventthread finished\n"); + SEQ_DEBUG(2,printf("seq_eventthread finished\n")); kthread_exit(0); } @@ -573,7 +573,7 @@ seq_addunit(void) scp->seqdev->si_drv1 = scp->musicdev->si_drv1 = scp; - printf("sequencer %d created scp %p\n", scp->unit, scp); + SEQ_DEBUG(2,printf("sequencer %d created scp %p\n", scp->unit, scp)); ret = 0; |