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/od.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/od.c')
-rw-r--r-- | sys/scsi/od.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/scsi/od.c b/sys/scsi/od.c index e17bfbf..60a8836 100644 --- a/sys/scsi/od.c +++ b/sys/scsi/od.c @@ -28,7 +28,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: od.c,v 1.1 1995/10/31 17:25:58 joerg Exp $ + * $Id: od.c,v 1.2 1995/11/19 22:22:21 dyson Exp $ */ /* @@ -136,11 +136,9 @@ struct scsi_device od_switch = static struct scsi_xfer sx; static int -od_externalize(struct proc *p, struct kern_devconf *kdc, void *userp, - size_t len) +od_externalize(struct kern_devconf *kdc, struct sysctl_req *req) { - return scsi_externalize(SCSI_LINK(&od_switch, kdc->kdc_unit), - userp, &len); + return scsi_externalize(SCSI_LINK(&od_switch, kdc->kdc_unit), req); } static struct kern_devconf kdc_od_template = { |