diff options
| author | isaki <isaki@NetBSD.org> | 2021-01-15 04:09:28 +0000 |
|---|---|---|
| committer | isaki <isaki@NetBSD.org> | 2021-01-15 04:09:28 +0000 |
| commit | 485ce439a615bc1e3f94490424848556aef0f9fa (patch) | |
| tree | 61525831269fa01f0c1f7f2bd3839a821e6cd34f /sys/dev | |
| parent | d7ffd74eefde2f4714c46a6308e3798f0cc37bf4 (diff) | |
Change (harmless) zero-length debug messages.
sys/modules is compiled with -Wzero-length-format and this
makes sys/modules compilable even if AUDIO_DEBUG is defined.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/audio/audio.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/audio/audio.c b/sys/dev/audio/audio.c index 91507e93610..f63e27ef504 100644 --- a/sys/dev/audio/audio.c +++ b/sys/dev/audio/audio.c @@ -1,4 +1,4 @@ -/* $NetBSD: audio.c,v 1.86 2020/12/19 01:18:58 thorpej Exp $ */ +/* $NetBSD: audio.c,v 1.87 2021/01/15 04:09:28 isaki Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -138,7 +138,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.86 2020/12/19 01:18:58 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.87 2021/01/15 04:09:28 isaki Exp $"); #ifdef _KERNEL_OPT #include "audio.h" @@ -3140,7 +3140,7 @@ filt_audioread_detach(struct knote *kn) file = kn->kn_hook; sc = file->sc; - TRACEF(3, file, ""); + TRACEF(3, file, "called"); mutex_enter(sc->sc_lock); selremove_knote(&sc->sc_rsel, kn); @@ -3187,7 +3187,7 @@ filt_audiowrite_detach(struct knote *kn) file = kn->kn_hook; sc = file->sc; - TRACEF(3, file, ""); + TRACEF(3, file, "called"); mutex_enter(sc->sc_lock); selremove_knote(&sc->sc_wsel, kn); @@ -3344,7 +3344,7 @@ audioctl_open(dev_t dev, struct audio_softc *sc, int flags, int ifmt, KASSERT(sc->sc_exlock); - TRACE(1, ""); + TRACE(1, "called"); error = fd_allocfile(&fp, &fd); if (error) @@ -5856,7 +5856,7 @@ audio_pmixer_halt(struct audio_softc *sc) { int error; - TRACE(2, ""); + TRACE(2, "called"); KASSERT(mutex_owned(sc->sc_lock)); KASSERT(sc->sc_exlock); @@ -5886,7 +5886,7 @@ audio_rmixer_halt(struct audio_softc *sc) { int error; - TRACE(2, ""); + TRACE(2, "called"); KASSERT(mutex_owned(sc->sc_lock)); KASSERT(sc->sc_exlock); @@ -8069,7 +8069,7 @@ mixer_close(struct audio_softc *sc, audio_file_t *file) error = audio_exlock_enter(sc); if (error) return error; - TRACE(1, ""); + TRACE(1, "called"); mixer_async_remove(sc, curproc->p_pid); audio_exlock_exit(sc); |
