From a85e5ea7aed1229dd0597ecc8a301f289a29440d Mon Sep 17 00:00:00 2001 From: tholo Date: Thu, 27 Feb 1997 06:20:23 +0000 Subject: [PATCH] When we don't output any extra scanner info, output the newline at the end of the configuration line that we do output --- sys/scsi/ss.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/scsi/ss.c b/sys/scsi/ss.c index 84e6f414554..b531948812c 100644 --- a/sys/scsi/ss.c +++ b/sys/scsi/ss.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ss.c,v 1.8 1996/08/11 23:26:05 deraadt Exp $ */ +/* $OpenBSD: ss.c,v 1.9 1997/02/27 06:20:23 tholo Exp $ */ /* $NetBSD: ss.c,v 1.10 1996/05/05 19:52:55 christos Exp $ */ /* @@ -145,8 +145,10 @@ ssattach(parent, self, aux) SC_DEBUG(sc_link, SDEV_DB2, ("ssattach:\n")); if (!bcmp(sa->sa_inqbuf->vendor, "MUSTEK", 6)) mustek_attach(ss, sa); - if (!bcmp(sa->sa_inqbuf->vendor, "HP ", 8)) + else if (!bcmp(sa->sa_inqbuf->vendor, "HP ", 8)) scanjet_attach(ss, sa); + else + printf("\n"); if (ss->special == NULL) { /* XXX add code to restart a SCSI2 scanner, if any */ } -- 2.20.1