mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
b3e3bb19a0
rewrites: log_error_errno(errno, ...); return -errno; into: return log_error_errno(errno, ...);
33 lines
691 B
Plaintext
33 lines
691 B
Plaintext
@@
|
|
identifier log_LEVEL_errno =~ "^log_(debug|info|notice|warning|error|emergency)_errno$";
|
|
local idexpression r;
|
|
expression e;
|
|
@@
|
|
- r = -e;
|
|
+ r =
|
|
log_LEVEL_errno(e, ...);
|
|
@@
|
|
identifier log_LEVEL_errno =~ "^log_(debug|info|notice|warning|error|emergency)_errno$";
|
|
local idexpression r;
|
|
expression e;
|
|
@@
|
|
+ r =
|
|
log_LEVEL_errno(e, ...);
|
|
- r = -e;
|
|
@@
|
|
identifier log_LEVEL_errno =~ "^log_(debug|info|notice|warning|error|emergency)_errno$";
|
|
local idexpression r;
|
|
expression e;
|
|
@@
|
|
- r =
|
|
+ return
|
|
log_LEVEL_errno(e, ...);
|
|
- return r;
|
|
@@
|
|
identifier log_LEVEL_errno =~ "^log_(debug|info|notice|warning|error|emergency)_errno$";
|
|
expression e;
|
|
@@
|
|
+ return
|
|
log_LEVEL_errno(e, ...);
|
|
- return -e;
|