Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/scsipi As in scsiconf.c, don't print the numberic de...
details: https://anonhg.NetBSD.org/src/rev/b3bae0b6f905
branches: trunk
changeset: 537696:b3bae0b6f905
user: soren <soren%NetBSD.org@localhost>
date: Fri Oct 04 18:58:45 2002 +0000
description:
As in scsiconf.c, don't print the numberic device type in the attach message.
diffstat:
sys/dev/scsipi/atapiconf.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r 0d33accd00da -r b3bae0b6f905 sys/dev/scsipi/atapiconf.c
--- a/sys/dev/scsipi/atapiconf.c Fri Oct 04 18:57:35 2002 +0000
+++ b/sys/dev/scsipi/atapiconf.c Fri Oct 04 18:58:45 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atapiconf.c,v 1.53 2002/10/02 16:52:47 thorpej Exp $ */
+/* $NetBSD: atapiconf.c,v 1.54 2002/10/04 18:58:45 soren Exp $ */
/*
* Copyright (c) 1996, 2001 Manuel Bouyer. All rights reserved.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atapiconf.c,v 1.53 2002/10/02 16:52:47 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atapiconf.c,v 1.54 2002/10/04 18:58:45 soren Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -345,9 +345,9 @@
inqbuf = &sa->sa_inqbuf;
dtype = scsipi_dtype(inqbuf->type & SID_TYPE);
- printf(" drive %d: <%s, %s, %s> type %d %s %s",
- sa->sa_periph->periph_target ,inqbuf->vendor,
- inqbuf->product, inqbuf->revision, inqbuf->type, dtype,
+ printf(" drive %d: <%s, %s, %s> %s %s",
+ sa->sa_periph->periph_target, inqbuf->vendor,
+ inqbuf->product, inqbuf->revision, dtype,
inqbuf->removable ? "removable" : "fixed");
return (UNCONF);
}
Home |
Main Index |
Thread Index |
Old Index