summaryrefslogtreecommitdiffstats
path: root/coccinelle/log-json.cocci
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 03:50:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 03:50:40 +0000
commitfc53809803cd2bc2434e312b19a18fa36776da12 (patch)
treeb4b43bd6538f51965ce32856e9c053d0f90919c8 /coccinelle/log-json.cocci
parentAdding upstream version 255.5. (diff)
downloadsystemd-fc53809803cd2bc2434e312b19a18fa36776da12.tar.xz
systemd-fc53809803cd2bc2434e312b19a18fa36776da12.zip
Adding upstream version 256.upstream/256
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'coccinelle/log-json.cocci')
-rw-r--r--coccinelle/log-json.cocci3
1 files changed, 1 insertions, 2 deletions
diff --git a/coccinelle/log-json.cocci b/coccinelle/log-json.cocci
index d184e56..c941706 100644
--- a/coccinelle/log-json.cocci
+++ b/coccinelle/log-json.cocci
@@ -3,7 +3,6 @@
expression e, v, flags;
expression list args;
@@
-+ return
- json_log(v, flags, 0, args);
-+ json_log(v, flags, SYNTHETIC_ERRNO(e), args);
- return -e;
++ return json_log(v, flags, SYNTHETIC_ERRNO(e), args);