From 782b026efc11a000491dbf0b8d9b417cafffdc25 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/platform@733 be3aeb3a-fb24-0410-a615-afba39da0efa --- linux/in_evdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5