Module Name:    src
Committed By:   jdolecek
Date:           Wed Oct 18 08:38:35 UTC 2017

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

Log Message:
add newlines to the debug messages


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/sys/dev/ata/ata.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/ata/ata.c
diff -u src/sys/dev/ata/ata.c:1.137 src/sys/dev/ata/ata.c:1.138
--- src/sys/dev/ata/ata.c:1.137	Sun Oct 15 14:41:06 2017
+++ src/sys/dev/ata/ata.c	Wed Oct 18 08:38:35 2017
@@ -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 @@ atastart(struct ata_channel *chp)
 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;
 	}

Reply via email to