Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix arity of USB::DevHandle#usb_detach_kernel_driver_np

  • Loading branch information...
commit 0e72bd1f5ac6c2ea30c91f07de823c0674ff9756 1 parent 3d41397
Kazuhiro NISHIYAMA authored January 17, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  usb.c
2  usb.c
@@ -930,6 +930,6 @@ Init_usb()
930 930
   rb_define_method(rb_cUSB_DevHandle, "usb_get_driver_np", rusb_get_driver_np, 2);
931 931
 #endif
932 932
 #ifdef LIBUSB_HAS_DETACH_KERNEL_DRIVER_NP
933  
-  rb_define_method(rb_cUSB_DevHandle, "usb_detach_kernel_driver_np", rusb_detach_kernel_driver_np, 2);
  933
+  rb_define_method(rb_cUSB_DevHandle, "usb_detach_kernel_driver_np", rusb_detach_kernel_driver_np, 1);
934 934
 #endif
935 935
 }

0 notes on commit 0e72bd1

Please sign in to comment.
Something went wrong with that request. Please try again.