summaryrefslogtreecommitdiff
path: root/hw/dmx/input/usb-other.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dmx/input/usb-other.c')
-rw-r--r--hw/dmx/input/usb-other.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/input/usb-other.c b/hw/dmx/input/usb-other.c
index 9ac9e16ca..9bb284281 100644
--- a/hw/dmx/input/usb-other.c
+++ b/hw/dmx/input/usb-other.c
@@ -142,7 +142,7 @@ void othUSBGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info)
} else
info->numAbsAxes = priv->numAbs;
for (j = 0; j < info->numAbsAxes; j++) {
- ioctl(priv->fd, EVIOCGABS(j), abs);
+ ioctl(priv->fd, EVIOCGABS(j), absolute);
info->minval[1+j] = absolute[1];
info->maxval[1+j] = absolute[2];
info->res[1+j] = absolute[3];