mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03: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 New Issue
Block a user