From: notaz Date: Wed, 5 Aug 2009 19:19:26 +0000 (+0000) Subject: bugfix X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=782b026efc11a000491dbf0b8d9b417cafffdc25;p=libpicofe.git bugfix git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@733 be3aeb3a-fb24-0410-a615-afba39da0efa --- diff --git a/linux/in_evdev.c b/linux/in_evdev.c index 6eea20a..4e23677 100644 --- a/linux/in_evdev.c +++ b/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;