bugfix
authornotaz <notasas@gmail.com>
Wed, 5 Aug 2009 19:19:26 +0000 (19:19 +0000)
committernotaz <notasas@gmail.com>
Wed, 5 Aug 2009 19:19:26 +0000 (19:19 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@733 be3aeb3a-fb24-0410-a615-afba39da0efa

platform/linux/in_evdev.c

index 6eea20a..4e23677 100644 (file)
@@ -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;