From: notaz Date: Wed, 5 Aug 2009 19:19:26 +0000 (+0000) Subject: bugfix X-Git-Tag: v1.85~315 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=370d5805173cf2a3a3739b4245e6a27a47dd51d2;p=picodrive.git bugfix git-svn-id: file:///home/notaz/opt/svn/PicoDrive@733 be3aeb3a-fb24-0410-a615-afba39da0efa --- diff --git a/platform/linux/in_evdev.c b/platform/linux/in_evdev.c index 6eea20a8..4e23677e 100644 --- a/platform/linux/in_evdev.c +++ b/platform/linux/in_evdev.c @@ -256,7 +256,7 @@ int in_evdev_update(void *drv_data, const int *binds, int *result) int rd, ret, u; if (dev->kbits == NULL) { - ret = ioctl(dev->fd, EVIOCGKEY(sizeof(keybits)), keybits); + ret = ioctl(dev->fd, EVIOCGKEY(sizeof(keybits_)), keybits_); if (ret == -1) { perror("in_evdev: ioctl failed"); return -1;