1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-31 07:51:21 +03:00
systemd/coccinelle/log-json.cocci

9 lines
153 B
Plaintext
Raw Normal View History

2019-03-21 12:50:59 +03:00
@@
expression e, v, flags;
expression list args;
@@
+ return
- json_log(v, flags, 0, args);
+ json_log(v, flags, SYNTHETIC_ERRNO(e), args);
- return -e;