summaryrefslogtreecommitdiffstats
path: root/sys/scsi/st.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/st.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/st.c')
-rw-r--r--sys/scsi/st.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c
index a4cbdb6..c872545 100644
--- a/sys/scsi/st.c
+++ b/sys/scsi/st.c
@@ -12,7 +12,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
- * $Id: st.c,v 1.42 1995/11/04 13:25:23 bde Exp $
+ * $Id: st.c,v 1.43 1995/11/19 22:22:32 dyson Exp $
*/
/*
@@ -285,11 +285,9 @@ static struct scsi_device st_switch =
ST_FM_WRITTEN | ST_2FM_AT_EOD | ST_PER_ACTION)
static int
-st_externalize(struct proc *p, struct kern_devconf *kdc, void *userp,
- size_t len)
+st_externalize(struct kern_devconf *kdc, struct sysctl_req *req)
{
- return scsi_externalize(SCSI_LINK(&st_switch, kdc->kdc_unit),
- userp, &len);
+ return scsi_externalize(SCSI_LINK(&st_switch, kdc->kdc_unit), req);
}
static struct kern_devconf kdc_st_template = {
OpenPOWER on IntegriCloud