]> git.ipfire.org Git - thirdparty/systemd.git/blame - coccinelle/log-json.cocci
fs-util: no need for fchmod_and_chown() to access /proc/self/fd directly
[thirdparty/systemd.git] / coccinelle / log-json.cocci
CommitLineData
19130626
ZJS
1@@
2expression e, v, flags;
3expression list args;
4@@
5+ return
6- json_log(v, flags, 0, args);
7+ json_log(v, flags, SYNTHETIC_ERRNO(e), args);
8- return -e;