# HG changeset patch # User Sam Lantinga # Date 1295910616 28800 # Node ID e7680e2c9f3ce0392a811b1d792972deb7e12f04 # Parent ac2c68eb1bb974622737faaa696042039c33b225 Fixed compile error diff -r ac2c68eb1bb9 -r e7680e2c9f3c src/joystick/linux/SDL_sysjoystick.c --- a/src/joystick/linux/SDL_sysjoystick.c Mon Jan 24 14:36:12 2011 -0800 +++ b/src/joystick/linux/SDL_sysjoystick.c Mon Jan 24 15:10:16 2011 -0800 @@ -703,7 +703,7 @@ if (test_bit(i, absbit)) { struct input_absinfo absinfo; - if (ioctl(fd, EVIOCGABS(i), values) < 0) + if (ioctl(fd, EVIOCGABS(i), &absinfo) < 0) continue; #ifdef DEBUG_INPUT_EVENTS printf("Joystick has absolute axis: %x\n", i);