diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-01-05 13:41:33 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-01-11 15:12:16 +0100 |
commit | 6b44a121c15584f340f73cf9ef8aa144ddcc22b2 (patch) | |
tree | 8cff98ed54474c14ff27ae2fddfd6dd37add42b4 /coccinelle | |
parent | ethtool-util: don't pass fds as pointers if we don't have to (diff) | |
download | systemd-6b44a121c15584f340f73cf9ef8aa144ddcc22b2.tar.xz systemd-6b44a121c15584f340f73cf9ef8aa144ddcc22b2.zip |
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.
Diffstat (limited to 'coccinelle')
-rw-r--r-- | coccinelle/enotsup.cocci | 4 |
1 files changed, 4 insertions, 0 deletions
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 |