diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-02-27 06:20:24 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-02-27 06:20:24 +0000 |
commit | 4b3ba46a361a32fb856625b8ad0e2f1fae3dad0f (patch) | |
tree | eb5c7c0745cea0e898fb94fb6134a56e834ac538 /sys/scsi/ss.c | |
parent | 1ecc995284b4e3f2492d395753b9d31a2ba4a4f7 (diff) |
When we don't output any extra scanner info, output the newline at the end
of the configuration line that we do output
Diffstat (limited to 'sys/scsi/ss.c')
-rw-r--r-- | sys/scsi/ss.c | 6 |
1 files 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 */ } |