Blame SOURCES/0001-journal-avoid-warning-about-deprecated-constant.patch

9dd3d1
From 63473b65d0c10268a9e2c9485313c4584027e67e Mon Sep 17 00:00:00 2001
9dd3d1
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
9dd3d1
Date: Wed, 11 Nov 2020 22:36:04 +0100
9dd3d1
Subject: [PATCH 1/2] journal: avoid warning about deprecated constant
9dd3d1
9dd3d1
---
9dd3d1
 systemd/_reader.c | 2 +-
9dd3d1
 1 file changed, 1 insertion(+), 1 deletion(-)
9dd3d1
9dd3d1
diff --git a/systemd/_reader.c b/systemd/_reader.c
9dd3d1
index c9aa11d43c..8de7f6a963 100644
9dd3d1
--- a/systemd/_reader.c
9dd3d1
+++ b/systemd/_reader.c
9dd3d1
@@ -1339,7 +1339,7 @@ init_reader(void)
9dd3d1
             PyModule_AddIntConstant(m, "LOCAL_ONLY", SD_JOURNAL_LOCAL_ONLY) ||
9dd3d1
             PyModule_AddIntConstant(m, "RUNTIME_ONLY", SD_JOURNAL_RUNTIME_ONLY) ||
9dd3d1
             PyModule_AddIntConstant(m, "SYSTEM", SD_JOURNAL_SYSTEM) ||
9dd3d1
-            PyModule_AddIntConstant(m, "SYSTEM_ONLY", SD_JOURNAL_SYSTEM_ONLY) ||
9dd3d1
+            PyModule_AddIntConstant(m, "SYSTEM_ONLY", SD_JOURNAL_SYSTEM) ||
9dd3d1
             PyModule_AddIntConstant(m, "CURRENT_USER", SD_JOURNAL_CURRENT_USER) ||
9dd3d1
             PyModule_AddIntConstant(m, "OS_ROOT", SD_JOURNAL_OS_ROOT) ||
9dd3d1
             PyModule_AddStringConstant(m, "__version__", PACKAGE_VERSION)) {