summaryrefslogtreecommitdiff
path: root/coccinelle/errno-check.cocci
blob: 709cb4ace6f45dbf2a2eb8913e4f016049698e3d (plain)
1
2
3
4
5
6
7
8
9
10
@@
constant c;
@@
(
- errno == -c
+ errno == c
|
- errno != -c
+ errno != c
)