summaryrefslogtreecommitdiffstats
path: root/sys/scsi/cd.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-11-20 12:42:39 +0000
committerphk <phk@FreeBSD.org>1995-11-20 12:42:39 +0000
commitd0c66446cc835afd7c554f93568beda34a3cbba0 (patch)
tree3c18ee3a32f49eafefcfca9b38f0533552958ab7 /sys/scsi/cd.c
parent7921cd5a326a4e25ea8f8e1c4da15f46710544e6 (diff)
downloadFreeBSD-src-d0c66446cc835afd7c554f93568beda34a3cbba0.zip
FreeBSD-src-d0c66446cc835afd7c554f93568beda34a3cbba0.tar.gz
Mega commit for sysctl.
Convert the remaining sysctl stuff to the new way of doing things. the devconf stuff is the reason for the large number of files. Cleaned up some compiler warnings while I were there.
Diffstat (limited to 'sys/scsi/cd.c')
-rw-r--r--sys/scsi/cd.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index c3fb6ff..f4f31d9 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -14,7 +14,7 @@
*
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
*
- * $Id: cd.c,v 1.43 1995/11/15 03:27:14 asami Exp $
+ * $Id: cd.c,v 1.44 1995/11/19 22:22:18 dyson Exp $
*/
#define SPLCD splbio
@@ -128,11 +128,9 @@ static struct scsi_device cd_switch =
#define CD_EJECT -2
static int
-cd_externalize(struct proc *p, struct kern_devconf *kdc, void *userp,
- size_t len)
+cd_externalize(struct kern_devconf *kdc, struct sysctl_req *req)
{
- return scsi_externalize(SCSI_LINK(&cd_switch, kdc->kdc_unit),
- userp, &len);
+ return scsi_externalize(SCSI_LINK(&cd_switch, kdc->kdc_unit), req);
}
static struct kern_devconf kdc_cd_template = {
OpenPOWER on IntegriCloud