Systemd/coccinelle/errno-check.cocci
2020-10-09 14:48:44 +02:00

11 lines
78 B
Plaintext

@@
constant c;
@@
(
- errno == -c
+ errno == c
|
- errno != -c
+ errno != c
)