Skip to content

Commit 9bacaca

Browse files
committed
journal: avoid warning about deprecated constant
1 parent 4c9a241 commit 9bacaca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systemd/_reader.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@ init_reader(void)
13391339
PyModule_AddIntConstant(m, "LOCAL_ONLY", SD_JOURNAL_LOCAL_ONLY) ||
13401340
PyModule_AddIntConstant(m, "RUNTIME_ONLY", SD_JOURNAL_RUNTIME_ONLY) ||
13411341
PyModule_AddIntConstant(m, "SYSTEM", SD_JOURNAL_SYSTEM) ||
1342-
PyModule_AddIntConstant(m, "SYSTEM_ONLY", SD_JOURNAL_SYSTEM_ONLY) ||
1342+
PyModule_AddIntConstant(m, "SYSTEM_ONLY", SD_JOURNAL_SYSTEM) ||
13431343
PyModule_AddIntConstant(m, "CURRENT_USER", SD_JOURNAL_CURRENT_USER) ||
13441344
PyModule_AddIntConstant(m, "OS_ROOT", SD_JOURNAL_OS_ROOT) ||
13451345
PyModule_AddStringConstant(m, "__version__", PACKAGE_VERSION)) {

0 commit comments

Comments
 (0)