Module Name:    src
Committed By:   isaki
Date:           Fri Jan 15 04:09:28 UTC 2021

Modified Files:
        src/sys/dev/audio: audio.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys/dev/audio/audio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/audio/audio.c
diff -u src/sys/dev/audio/audio.c:1.86 src/sys/dev/audio/audio.c:1.87
--- src/sys/dev/audio/audio.c:1.86	Sat Dec 19 01:18:58 2020
+++ src/sys/dev/audio/audio.c	Fri Jan 15 04:09:28 2021
@@ -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_so
 
 	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, audi
 	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);
 

Reply via email to