summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-19 13:49:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-19 13:49:19 +0000
commitfc531ae0bf18c42d061e155b29ed98b6c676d6fd (patch)
tree55c4af2ae3edfceaa145e66d4aea53efaf0e48cd
parent4acec40b5f6fc2530509c8046936e39b6302bb19 (diff)
from netbsd; get size of softc right
-rw-r--r--sys/dev/ramdisk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ramdisk.c b/sys/dev/ramdisk.c
index 556af6ef2b0..e1b4c5f2cc7 100644
--- a/sys/dev/ramdisk.c
+++ b/sys/dev/ramdisk.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ramdisk.c,v 1.1 1995/10/08 23:30:57 gwr Exp $ */
+/* $NetBSD: ramdisk.c,v 1.1.2.1 1995/11/17 23:34:25 gwr Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross, Leo Weppelman.
@@ -103,7 +103,7 @@ static void rd_attach(struct device *, struct device *self, void *);
struct cfdriver rdcd = {
NULL, "rd", rd_match, rd_attach,
- DV_DISK, sizeof(struct device), NULL, 0 };
+ DV_DULL, sizeof(struct rd_softc), NULL, 0 };
static int
rd_match(parent, self, aux)
@@ -391,7 +391,7 @@ rd_ioctl_kalloc(sc, urd, proc)
#if RAMDISK_SERVER
/*
- * Handle ioctl RD_SETCONF for (sc_type == RD_KMEM_ALLOCATED)
+ * Handle ioctl RD_SETCONF for (sc_type == RD_UMEM_SERVER)
* Set config, then become the I/O server for this unit.
*/
int