Permalink
Browse files

Merge pull request #3 from znz/master

arity of USB::DevHandle#usb_detach_kernel_driver_np should be 1
  • Loading branch information...
2 parents 3d41397 + 0e72bd1 commit bf4801d7a6d686df25c1813f5945b776fa3fba83 @akr committed Jun 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 usb.c
View
@@ -930,6 +930,6 @@ Init_usb()
rb_define_method(rb_cUSB_DevHandle, "usb_get_driver_np", rusb_get_driver_np, 2);
#endif
#ifdef LIBUSB_HAS_DETACH_KERNEL_DRIVER_NP
- rb_define_method(rb_cUSB_DevHandle, "usb_detach_kernel_driver_np", rusb_detach_kernel_driver_np, 2);
+ rb_define_method(rb_cUSB_DevHandle, "usb_detach_kernel_driver_np", rusb_detach_kernel_driver_np, 1);
#endif
}

0 comments on commit bf4801d

Please sign in to comment.