mirror of
https://github.com/systemd/systemd
synced 2025-10-06 00:13:24 +02: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