diff options
author | phk <phk@FreeBSD.org> | 1995-11-20 12:42:39 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-11-20 12:42:39 +0000 |
commit | d0c66446cc835afd7c554f93568beda34a3cbba0 (patch) | |
tree | 3c18ee3a32f49eafefcfca9b38f0533552958ab7 /sys/scsi/sd.c | |
parent | 7921cd5a326a4e25ea8f8e1c4da15f46710544e6 (diff) | |
download | FreeBSD-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/sd.c')
-rw-r--r-- | sys/scsi/sd.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index d8994aa..501aff5 100644 --- a/sys/scsi/sd.c +++ b/sys/scsi/sd.c @@ -14,7 +14,7 @@ * * Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992 * - * $Id: sd.c,v 1.70 1995/11/19 22:22:28 dyson Exp $ + * $Id: sd.c,v 1.71 1995/11/20 02:12:34 davidg Exp $ */ #define SPLSD splbio @@ -113,11 +113,9 @@ static struct scsi_device sd_switch = static struct scsi_xfer sx; static int -sd_externalize(struct proc *p, struct kern_devconf *kdc, void *userp, - size_t len) +sd_externalize(struct kern_devconf *kdc, struct sysctl_req *req) { - return scsi_externalize(SCSI_LINK(&sd_switch, kdc->kdc_unit), - userp, &len); + return scsi_externalize(SCSI_LINK(&sd_switch, kdc->kdc_unit), req); } static struct kern_devconf kdc_sd_template = { |