Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/ossaudio Correct debug messages.



details:   https://anonhg.NetBSD.org/src/rev/2d7ec39c816d
branches:  trunk
changeset: 838835:2d7ec39c816d
user:      isaki <isaki%NetBSD.org@localhost>
date:      Sat Feb 02 05:02:03 2019 +0000

description:
Correct debug messages.

diffstat:

 sys/compat/ossaudio/ossaudio.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r 192a556fda84 -r 2d7ec39c816d sys/compat/ossaudio/ossaudio.c
--- a/sys/compat/ossaudio/ossaudio.c    Sat Feb 02 04:52:16 2019 +0000
+++ b/sys/compat/ossaudio/ossaudio.c    Sat Feb 02 05:02:03 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ossaudio.c,v 1.72 2019/02/02 04:52:16 isaki Exp $      */
+/*     $NetBSD: ossaudio.c,v 1.73 2019/02/02 05:02:03 isaki Exp $      */
 
 /*-
  * Copyright (c) 1997, 2008 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ossaudio.c,v 1.72 2019/02/02 04:52:16 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ossaudio.c,v 1.73 2019/02/02 05:02:03 isaki Exp $");
 
 #include <sys/param.h>
 #include <sys/proc.h>
@@ -509,12 +509,12 @@
                AUDIO_INITINFO(&tmpinfo);
                error = copyin(SCARG(uap, data), &idat, sizeof idat);
                if (error) {
-                       DPRINTF(("%s: DSP_SETFRAGMENT %d\n",
+                       DPRINTF(("%s: SNDCTL_DSP_SETFRAGMENT %d\n",
                             __func__, error));
                        goto out;
                }
                if ((idat & 0xffff) < 4 || (idat & 0xffff) > 17) {
-                       DPRINTF(("%s: DSP_SETFRAGMENT bad ival%d\n",
+                       DPRINTF(("%s: SNDCTL_DSP_SETFRAGMENT bad ival%d\n",
                             __func__, idat));
                        error = EINVAL;
                        goto out;
@@ -657,7 +657,7 @@
                idat = 1;
                error = ioctlf(fp, FIONBIO, &idat);
                if (error) {
-                       DPRINTF(("%s: SENDCLT_DSP_NONBLOCK %d\n",
+                       DPRINTF(("%s: FIONBIO %d\n",
                             __func__, error));
                        goto out;
                }



Home | Main Index | Thread Index | Old Index