From 370d5805173cf2a3a3739b4245e6a27a47dd51d2 Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 5 Aug 2009 19:19:26 +0000 Subject: [PATCH] bugfix git-svn-id: file:///home/notaz/opt/svn/PicoDrive@733 be3aeb3a-fb24-0410-a615-afba39da0efa --- platform/linux/in_evdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5