From daa21be5f06cc7db070bf374e588414702dd6562 Mon Sep 17 00:00:00 2001 From: Peter Dufault Date: Thu, 26 Jan 1995 23:40:40 +0000 Subject: Fix verbose printout of "" name --- sbin/scsi/scsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/scsi') diff --git a/sbin/scsi/scsi.c b/sbin/scsi/scsi.c index 603fd8e417ed..7837caca48e8 100644 --- a/sbin/scsi/scsi.c +++ b/sbin/scsi/scsi.c @@ -39,7 +39,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: scsi.c,v 1.1 1993/11/18 05:05:28 rgrimes Exp $ + * $Id: scsi.c,v 1.1.1.1 1995/01/24 12:07:27 dufault Exp $ */ #include @@ -191,7 +191,7 @@ char *cget(void *hook, char *name) */ void arg_put(void *hook, int letter, void *arg, int count, char *name) { - if (verbose) + if (verbose && name && *name) printf("%s: ", name); switch(letter) -- cgit v1.2.3