diff options
Diffstat (limited to 'unsaver.c')
-rw-r--r-- | unsaver.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -268,7 +268,7 @@ void open_joysticks(void) { void check_inotify() { int res; - res = read(inotify_fd, inotify_buf, sizeof(inotify_buf) + NAME_MAX + 1); + res = read(inotify_fd, inotify_buf, sizeof(struct inotify_event) + NAME_MAX + 1); if(res > 0) { if(debug) { |