mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-07 08:07:20 +02:00
Correct the inotify failure message
This commit is contained in:
parent
1df1852c76
commit
717d6cc003
@ -437,7 +437,7 @@ void config_init(GameModeConfig *self)
|
|||||||
self->inotfd = inotify_init1(IN_NONBLOCK);
|
self->inotfd = inotify_init1(IN_NONBLOCK);
|
||||||
if (self->inotfd == -1)
|
if (self->inotfd == -1)
|
||||||
LOG_ERROR(
|
LOG_ERROR(
|
||||||
"inotify_init failed: %s, gamemode will be able to watch config files for edits!\n",
|
"inotify_init failed: %s, gamemode will not be able to watch config files for edits!\n",
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
|
|
||||||
for (unsigned int i = 0; i < CONFIG_NUM_LOCATIONS; i++) {
|
for (unsigned int i = 0; i < CONFIG_NUM_LOCATIONS; i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user