diff options
Diffstat (limited to 'ioctl')
-rw-r--r-- | ioctl/hidraw.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ioctl/hidraw.py b/ioctl/hidraw.py index 6c69c8e..a083683 100644 --- a/ioctl/hidraw.py +++ b/ioctl/hidraw.py @@ -95,7 +95,7 @@ class Hidraw(object): ioctl.IOCTL.IOR( 'H', self.HIDIOCGRDESC, ctypes.sizeof(HidrawReportDescriptor) - ).perform(self._fd, buf=buf) + ).perform(self._fd, buf) ret = HidrawReportDescriptor.from_buffer(buf) return list(ret.value)[:ret.size] |