mirror of
https://github.com/systemd/systemd
synced 2024-10-01 13:55:20 +00:00
parent
447643130c
commit
7e97526421
10
coccinelle/errno-check.cocci
Normal file
10
coccinelle/errno-check.cocci
Normal file
|
@ -0,0 +1,10 @@
|
|||
@@
|
||||
constant c;
|
||||
@@
|
||||
(
|
||||
- errno == -c
|
||||
+ errno == c
|
||||
|
|
||||
- errno != -c
|
||||
+ errno != c
|
||||
)
|
Loading…
Reference in a new issue