From 6b44a121c15584f340f73cf9ef8aa144ddcc22b2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 5 Jan 2018 13:41:33 +0100 Subject: cocci: there's not ENOTSUP, there's only EOPNOTSUPP On Linux the former is a compat alias to the latter, and that's really weird, as inside the kernel the two are distinct. Which means we really should stay away from it. --- coccinelle/enotsup.cocci | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 coccinelle/enotsup.cocci (limited to 'coccinelle') diff --git a/coccinelle/enotsup.cocci b/coccinelle/enotsup.cocci new file mode 100644 index 0000000000..c65734d382 --- /dev/null +++ b/coccinelle/enotsup.cocci @@ -0,0 +1,4 @@ +@@ +@@ +- ENOTSUP ++ EOPNOTSUPP -- cgit v1.2.3