diff options
author | Pete Batard <pbatard@gmail.com> | 2010-03-10 23:53:39 +0000 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-03-10 23:53:39 +0000 |
commit | e6a00b7604cf24ba99596fb981d121f158b9272b (patch) | |
tree | 3334b6197cde5422e8f0a48ec0286298670fc5bc | |
parent | 409d6d2c588b71bdd5a1bb1c8fe9b5d3f796c54e (diff) | |
download | libusb-e6a00b7604cf24ba99596fb981d121f158b9272b.tar.gz |
residuals from previous mergec193
-rw-r--r-- | libusb/os/windows_usb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libusb/os/windows_usb.c b/libusb/os/windows_usb.c index eb7c5f9..3c6cf78 100644 --- a/libusb/os/windows_usb.c +++ b/libusb/os/windows_usb.c @@ -3248,7 +3248,7 @@ static int libusb0_submit_iso_transfer(struct usbi_transfer *itransfer) { libusb0_handle = handle_priv->interface_handle[0].dev_handle; direction_in = transfer->endpoint & LIBUSB_ENDPOINT_IN; - wfd = usbi_create_fd(libusb0_handle, direction_in?_O_RDONLY:_O_WRONLY, ctx); + wfd = usbi_create_fd(libusb0_handle, direction_in?_O_RDONLY:_O_WRONLY); if (wfd.fd < 0) { return LIBUSB_ERROR_NO_MEM; } @@ -3461,7 +3461,7 @@ static int libusb0_submit_control_transfer(struct usbi_transfer *itransfer) usbi_dbg("will use interface %d", current_interface); libusb0_handle = handle_priv->interface_handle[0].dev_handle; - wfd = usbi_create_fd(libusb0_handle, _O_RDONLY, ctx); + wfd = usbi_create_fd(libusb0_handle, _O_RDONLY); if (wfd.fd < 0) { return LIBUSB_ERROR_NO_MEM; } @@ -3546,7 +3546,7 @@ static int libusb0_submit_bulk_transfer(struct usbi_transfer *itransfer) libusb0_handle = handle_priv->interface_handle[0].dev_handle; direction_in = transfer->endpoint & LIBUSB_ENDPOINT_IN; - wfd = usbi_create_fd(libusb0_handle, direction_in?_O_RDONLY:_O_WRONLY, ctx); + wfd = usbi_create_fd(libusb0_handle, direction_in?_O_RDONLY:_O_WRONLY); if (wfd.fd < 0) { return LIBUSB_ERROR_NO_MEM; } |