Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/audio Change (harmless) zero-length debug messages.
details: https://anonhg.NetBSD.org/src/rev/6bf46a4a644c
branches: trunk
changeset: 949725:6bf46a4a644c
user: isaki <isaki%NetBSD.org@localhost>
date: Fri Jan 15 04:09:28 2021 +0000
description:
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:
sys/dev/audio/audio.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (72 lines):
diff -r b97986fc01a7 -r 6bf46a4a644c sys/dev/audio/audio.c
--- a/sys/dev/audio/audio.c Fri Jan 15 03:51:41 2021 +0000
+++ b/sys/dev/audio/audio.c Fri Jan 15 04:09:28 2021 +0000
@@ -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 @@
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 @@
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 @@
KASSERT(sc->sc_exlock);
- TRACE(1, "");
+ TRACE(1, "called");
error = fd_allocfile(&fp, &fd);
if (error)
@@ -5856,7 +5856,7 @@
{
int error;
- TRACE(2, "");
+ TRACE(2, "called");
KASSERT(mutex_owned(sc->sc_lock));
KASSERT(sc->sc_exlock);
@@ -5886,7 +5886,7 @@
{
int error;
- TRACE(2, "");
+ TRACE(2, "called");
KASSERT(mutex_owned(sc->sc_lock));
KASSERT(sc->sc_exlock);
@@ -8069,7 +8069,7 @@
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);
Home |
Main Index |
Thread Index |
Old Index