You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gcc -O0 -Wall -g -c -I. -fPIC -c -o linux_evdev.o linux_evdev.c
linux_evdev.c: In function ‘linux_evdev_init’:
linux_evdev.c:267:53: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 117 [-Wformat-truncation=]
267 | snprintf(fname, sizeof (fname), "/dev/input/%s", dent->d_name);
| ^~
linux_evdev.c:267:9: note: ‘snprintf’ output between 12 and 267 bytes into a destination of size 128
267 | snprintf(fname, sizeof (fname), "/dev/input/%s", dent->d_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OS
Arch Linux
Linux version 6.5.6-arch2-1
Build Output
The text was updated successfully, but these errors were encountered: