]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/login/logind-gperf.gperf
Merge pull request #8025 from sourcejedi/pid1_journal_or2
[thirdparty/systemd.git] / src / login / logind-gperf.gperf
index 0b6a5f3cf4b72b34635bf5db2c4ad3b198566483..ee62db63a559b4cd0b9739748436def0767ab22b 100644 (file)
@@ -1,4 +1,7 @@
 %{
+#if __GNUC__ >= 7
+_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
+#endif
 #include <stddef.h>
 #include "conf-parser.h"
 #include "logind.h"
@@ -14,7 +17,7 @@ struct ConfigPerfItem;
 %struct-type
 %includes
 %%
-Login.NAutoVTs,                    config_parse_unsigned,      0, offsetof(Manager, n_autovts)
+Login.NAutoVTs,                    config_parse_n_autovts,     0, offsetof(Manager, n_autovts)
 Login.ReserveVT,                   config_parse_unsigned,      0, offsetof(Manager, reserve_vt)
 Login.KillUserProcesses,           config_parse_bool,          0, offsetof(Manager, kill_user_processes)
 Login.KillOnlyUsers,               config_parse_strv,          0, offsetof(Manager, kill_only_users)