Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/audio Add missing newline to some error messages.



details:   https://anonhg.NetBSD.org/src/rev/85fe45b361a0
branches:  trunk
changeset: 451883:85fe45b361a0
user:      isaki <isaki%NetBSD.org@localhost>
date:      Mon Jun 10 13:28:08 2019 +0000

description:
Add missing newline to some error messages.

diffstat:

 sys/dev/audio/audio.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r a7eab8c9f6c9 -r 85fe45b361a0 sys/dev/audio/audio.c
--- a/sys/dev/audio/audio.c     Mon Jun 10 13:12:51 2019 +0000
+++ b/sys/dev/audio/audio.c     Mon Jun 10 13:28:08 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: audio.c,v 1.14 2019/06/10 13:12:51 isaki Exp $ */
+/*     $NetBSD: audio.c,v 1.15 2019/06/10 13:28:08 isaki Exp $ */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -142,7 +142,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.14 2019/06/10 13:12:51 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.15 2019/06/10 13:28:08 isaki Exp $");
 
 #ifdef _KERNEL_OPT
 #include "audio.h"
@@ -5205,7 +5205,7 @@
                            start, end, blksize, audio_pintr, sc, &params);
                        if (error) {
                                device_printf(sc->sc_dev,
-                                   "trigger_output failed with %d", error);
+                                   "trigger_output failed with %d\n", error);
                                return;
                        }
                }
@@ -5217,7 +5217,7 @@
                    start, blksize, audio_pintr, sc);
                if (error) {
                        device_printf(sc->sc_dev,
-                           "start_output failed with %d", error);
+                           "start_output failed with %d\n", error);
                        return;
                }
        }
@@ -5476,7 +5476,7 @@
                            start, end, blksize, audio_rintr, sc, &params);
                        if (error) {
                                device_printf(sc->sc_dev,
-                                   "trigger_input failed with %d", error);
+                                   "trigger_input failed with %d\n", error);
                                return;
                        }
                }
@@ -5488,7 +5488,7 @@
                    start, blksize, audio_rintr, sc);
                if (error) {
                        device_printf(sc->sc_dev,
-                           "start_input failed with %d", error);
+                           "start_input failed with %d\n", error);
                        return;
                }
        }



Home | Main Index | Thread Index | Old Index