Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/scsipi don't print a blank line that ends up in logs...
details: https://anonhg.NetBSD.org/src/rev/e0e660ba9ea5
branches: trunk
changeset: 835936:e0e660ba9ea5
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Sep 16 23:20:18 2018 +0000
description:
don't print a blank line that ends up in logs and console output.
diffstat:
sys/dev/scsipi/scsipi_verbose.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (30 lines):
diff -r 0002747425a8 -r e0e660ba9ea5 sys/dev/scsipi/scsipi_verbose.c
--- a/sys/dev/scsipi/scsipi_verbose.c Sun Sep 16 23:18:55 2018 +0000
+++ b/sys/dev/scsipi/scsipi_verbose.c Sun Sep 16 23:20:18 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scsipi_verbose.c,v 1.33 2016/09/17 18:53:13 kardel Exp $ */
+/* $NetBSD: scsipi_verbose.c,v 1.34 2018/09/16 23:20:18 mrg Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scsipi_verbose.c,v 1.33 2016/09/17 18:53:13 kardel Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scsipi_verbose.c,v 1.34 2018/09/16 23:20:18 mrg Exp $");
#include <sys/param.h>
#include <sys/time.h>
@@ -954,10 +954,8 @@
if (sbs)
printf("\n SKSV: %s", sbs);
printf("\n");
- if (verbosity == 0) {
- printf("\n");
+ if (verbosity == 0)
return;
- }
/*
* Now figure whether we should print any additional informtion.
Home |
Main Index |
Thread Index |
Old Index