summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 d184e56584..c941706c64 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);