summaryrefslogtreecommitdiffstats
path: root/sys/scsi/uk.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1995-11-29 14:41:20 +0000
committerjulian <julian@FreeBSD.org>1995-11-29 14:41:20 +0000
commit198d88e0ae0e12a2ddafb80a60372116b0b1c0c6 (patch)
tree82e0b24f955f894892cc1c396f300233c0d0607a /sys/scsi/uk.c
parent1758bf79ff52b23e5828e97e6ed62be161d761bf (diff)
downloadFreeBSD-src-198d88e0ae0e12a2ddafb80a60372116b0b1c0c6.zip
FreeBSD-src-198d88e0ae0e12a2ddafb80a60372116b0b1c0c6.tar.gz
If you're going to mechanically replicate something in 50 files
it's best to not have a (compiles cleanly) typo in it! (sigh)
Diffstat (limited to 'sys/scsi/uk.c')
-rw-r--r--sys/scsi/uk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/scsi/uk.c b/sys/scsi/uk.c
index ab1e6e1..0cf4cf6 100644
--- a/sys/scsi/uk.c
+++ b/sys/scsi/uk.c
@@ -2,13 +2,14 @@
* Driver for a device we can't identify.
* by Julian Elischer (julian@tfs.com)
*
- * $Id: uk.c,v 1.9 1995/05/30 08:13:56 rgrimes Exp $
+ * $Id: uk.c,v 1.10 1995/11/29 10:49:07 julian Exp $
*
* If you find that you are adding any code to this file look closely
* at putting it in "scsi_driver.c" instead.
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <scsi/scsi_all.h>
#include <scsi/scsiconf.h>
#ifdef JREMOD
@@ -70,8 +71,8 @@ static void uk_drvinit(void *unused)
/* path name devsw minor type uid gid perm*/
"/", "uk", major(dev), 0, DV_CHR, 0, 0, 0600);
}
- }
#endif
+ }
}
SYSINIT(ukdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,uk_drvinit,NULL)
OpenPOWER on IntegriCloud