mirror of
https://github.com/systemd/systemd
synced 2024-10-01 13:55:20 +00:00
coccinelle: always use SYNTHETIC_ERRNO() macro
This commit is contained in:
parent
fed66db05d
commit
0aa8730edc
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue