summaryrefslogtreecommitdiffstats
path: root/coccinelle/errno-check.cocci
blob: f6f0071cd111d34c2190cd95ceef02a19217d79c (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@
constant c;
@@
(
- errno == -c
+ errno == c
|
- errno != -c
+ errno != c
)