Module Name: src Committed By: martin Date: Sun Sep 23 17:24:59 UTC 2018
Modified Files: src/sys/dev/scsipi [netbsd-8]: scsipi_verbose.c Log Message: Pull up following revision(s) (requested by mrg in ticket #1023): sys/dev/scsipi/scsipi_verbose.c: revision 1.34 don't print a blank line that ends up in logs and console output. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.33.8.1 src/sys/dev/scsipi/scsipi_verbose.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/scsipi/scsipi_verbose.c diff -u src/sys/dev/scsipi/scsipi_verbose.c:1.33 src/sys/dev/scsipi/scsipi_verbose.c:1.33.8.1 --- src/sys/dev/scsipi/scsipi_verbose.c:1.33 Sat Sep 17 18:53:13 2016 +++ src/sys/dev/scsipi/scsipi_verbose.c Sun Sep 23 17:24:59 2018 @@ -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.33.8.1 2018/09/23 17:24:59 martin 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.33.8.1 2018/09/23 17:24:59 martin Exp $"); #include <sys/param.h> #include <sys/time.h> @@ -954,10 +954,8 @@ scsipi_print_sense_data_real(struct scsi 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.