]> git.ipfire.org Git - thirdparty/systemd.git/blob - coccinelle/log-json.cocci
man/systemd-sysext: list ephemeral/ephemeral-import in the list of options
[thirdparty/systemd.git] / coccinelle / log-json.cocci
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 @@
3 expression e, v, flags;
4 expression list args;
5 @@
6 - json_log(v, flags, 0, args);
7 - return -e;
8 + return json_log(v, flags, SYNTHETIC_ERRNO(e), args);