Add notify module to logging list

The notify module controls the logging settings for the notify socket
code. While missing this doesn't cause any impact to the notify code, an
invalid module name sent on the command socket could cause the daemon to
crash with a NULL pointer access.
update-lkm
nirenjan 2022-09-22 14:21:14 -07:00
parent 1dcadb9428
commit fea095dc50
1 changed files with 1 additions and 0 deletions

View File

@ -263,6 +263,7 @@ static void cmd_logging(char *buffer, int *buflen, int argc, char **argv)
[X52D_MOD_MOUSE] = "mouse", [X52D_MOD_MOUSE] = "mouse",
[X52D_MOD_COMMAND] = "command", [X52D_MOD_COMMAND] = "command",
[X52D_MOD_CLIENT] = "client", [X52D_MOD_CLIENT] = "client",
[X52D_MOD_NOTIFY] = "notify",
}; };
// This corresponds to the levels in pinelog // This corresponds to the levels in pinelog