mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
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
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user