diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-11-20 02:47:06 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-11-20 02:59:00 +0900 |
commit | 0aa8730edc434acb0b05a93eb4fce6337a0047ee (patch) | |
tree | 8c2a00f2d5d78ae8fa2afe27a9692c3b0963eaaa /coccinelle | |
parent | fed66db05d54146a91cea64f20178d9db05cbdc7 (diff) | |
download | systemd-0aa8730edc434acb0b05a93eb4fce6337a0047ee.tar.gz |
coccinelle: always use SYNTHETIC_ERRNO() macro
Diffstat (limited to 'coccinelle')
-rw-r--r-- | coccinelle/synthetic-errno.cocci | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coccinelle/synthetic-errno.cocci b/coccinelle/synthetic-errno.cocci index 3ddb69cb4c..650c37e08b 100644 --- a/coccinelle/synthetic-errno.cocci +++ b/coccinelle/synthetic-errno.cocci @@ -44,5 +44,5 @@ identifier log_LEVEL_errno =~ "^log_(debug|info|notice|warning|error|emergency)_ identifier ERRNO =~ "^E[A-Z]+$"; expression list args; @@ -- return log_LEVEL_errno(ERRNO, args); -+ return log_LEVEL_errno(SYNTHETIC_ERRNO(ERRNO), args); +- log_LEVEL_errno(ERRNO, args); ++ log_LEVEL_errno(SYNTHETIC_ERRNO(ERRNO), args); |