summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ioctl/hidraw.py2
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]