From 8debbc34ab785a703db9d84b1f7a42918c24fef7 Mon Sep 17 00:00:00 2001 From: toshii Date: Fri, 15 Sep 2000 17:03:24 +0000 Subject: [PATCH] Change the second argument of tiocm_to_ucom to u_long, since the second argument of ioctl is a u_long value. --- sys/dev/usb/ucom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c index 5643e9d53fd2..877d412ef037 100644 --- a/sys/dev/usb/ucom.c +++ b/sys/dev/usb/ucom.c @@ -1,4 +1,4 @@ -/* $NetBSD: ucom.c,v 1.28 2000/09/13 05:17:14 toshii Exp $ */ +/* $NetBSD: ucom.c,v 1.29 2000/09/15 17:03:24 toshii Exp $ */ /* * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc. @@ -135,7 +135,7 @@ Static void ucom_break(struct ucom_softc *, int); Static usbd_status ucomstartread(struct ucom_softc *); Static void ucomreadcb(usbd_xfer_handle, usbd_private_handle, usbd_status); Static void ucomwritecb(usbd_xfer_handle, usbd_private_handle, usbd_status); -Static void tiocm_to_ucom(struct ucom_softc *, int, int); +Static void tiocm_to_ucom(struct ucom_softc *, u_long, int); Static int ucom_to_tiocm(struct ucom_softc *); USB_DECLARE_DRIVER(ucom); @@ -621,7 +621,7 @@ ucom_do_ioctl(struct ucom_softc *sc, u_long cmd, caddr_t data, } Static void -tiocm_to_ucom(struct ucom_softc *sc, int how, int ttybits) +tiocm_to_ucom(struct ucom_softc *sc, u_long how, int ttybits) { u_char combits;