diff options
author | B. Watson <yalhcru@gmail.com> | 2021-12-23 13:26:14 -0500 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2021-12-23 13:26:14 -0500 |
commit | fa926beb7e8407608c56b4c30097cc631181140d (patch) | |
tree | 3704ed3cc6cc430e7c7e4a72eb1ee6803c4b1ffa /unsaver.c | |
parent | a5b848702eb801ac8d8fb605a7b51cfb0babe88d (diff) | |
download | unsaver-master.tar.gz |
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) { |