Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ata add newlines to the debug messages



details:   https://anonhg.NetBSD.org/src/rev/384b32970466
branches:  trunk
changeset: 827170:384b32970466
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Oct 18 08:38:35 2017 +0000

description:
add newlines to the debug messages

diffstat:

 sys/dev/ata/ata.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r a919468a6828 -r 384b32970466 sys/dev/ata/ata.c
--- a/sys/dev/ata/ata.c Wed Oct 18 03:38:32 2017 +0000
+++ b/sys/dev/ata/ata.c Wed Oct 18 08:38:35 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ata.c,v 1.137 2017/10/15 14:41:06 jdolecek Exp $       */
+/*     $NetBSD: ata.c,v 1.138 2017/10/18 08:38:35 jdolecek Exp $       */
 
 /*
  * Copyright (c) 1998, 2001 Manuel Bouyer.  All rights reserved.
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ata.c,v 1.137 2017/10/15 14:41:06 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ata.c,v 1.138 2017/10/18 08:38:35 jdolecek Exp $");
 
 #include "opt_ata.h"
 
@@ -1132,14 +1132,14 @@
 again:
        KASSERT(chq->queue_active <= chq->queue_openings);
        if (chq->queue_active == chq->queue_openings) {
-               ATADEBUG_PRINT(("%s: channel completely busy", __func__),
+               ATADEBUG_PRINT(("%s: channel completely busy\n", __func__),
                    DEBUG_XFERS);
                goto out;
        }
 
        /* is there a xfer ? */
        if ((xfer = TAILQ_FIRST(&chp->ch_queue->queue_xfer)) == NULL) {
-               ATADEBUG_PRINT(("%s: queue_xfer is empty", __func__),
+               ATADEBUG_PRINT(("%s: queue_xfer is empty\n", __func__),
                    DEBUG_XFERS);
                goto out;
        }



Home | Main Index | Thread Index | Old Index