summaryrefslogtreecommitdiffstats
path: root/sys/scsi/scsiconf.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1993-12-19 00:55:01 +0000
committerwollman <wollman@FreeBSD.org>1993-12-19 00:55:01 +0000
commit71b67e5a560e27117fd4ff9fe76b1e67f1423f1e (patch)
tree62dff2aa17f4c31d27a9595b764f9cbc9810eb80 /sys/scsi/scsiconf.c
parentc7341bb860bd0d1789ca0b8bfce96c383fd7dbbc (diff)
downloadFreeBSD-src-71b67e5a560e27117fd4ff9fe76b1e67f1423f1e.zip
FreeBSD-src-71b67e5a560e27117fd4ff9fe76b1e67f1423f1e.tar.gz
Make everything compile with -Wtraditional. Make it easier to distribute
a binary link-kit. Make all non-optional options (pagers, procfs) standard, and update LINT to reflect new symtab requirements. NB: -Wtraditional will henceforth be forgotten. This editing pass was primarily intended to detect any constructions where the old code might have been relying on traditional C semantics or syntax. These were all fixed, and the result of fixing some of them means that -Wall is now a realistic possibility within a few weeks.
Diffstat (limited to 'sys/scsi/scsiconf.c')
-rw-r--r--sys/scsi/scsiconf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c
index 708cc7c..9e2dfef 100644
--- a/sys/scsi/scsiconf.c
+++ b/sys/scsi/scsiconf.c
@@ -14,7 +14,7 @@
*
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
*
- * $Id: scsiconf.c,v 2.6 93/10/24 12:43:51 julian Exp Locker: julian $
+ * $Id: scsiconf.c,v 1.7 1993/11/18 05:02:58 rgrimes Exp $
*/
#include <sys/types.h>
@@ -485,7 +485,7 @@ scsi_probedev(sc_link, maybe_more)
* is vendor specific and won't match in this switch.
*/
- switch (qualifier) {
+ switch ((int)qualifier) {
case SID_QUAL_LU_OK:
qtype = "";
break;
@@ -517,7 +517,7 @@ scsi_probedev(sc_link, maybe_more)
break;
}
if (dtype == 0) {
- switch (type) {
+ switch ((int)type) {
case T_DIRECT:
dtype = "direct";
break;
OpenPOWER on IntegriCloud