]> git.ipfire.org Git - thirdparty/systemd.git/commit
cocci: there's not ENOTSUP, there's only EOPNOTSUPP 7816/head
authorLennart Poettering <lennart@poettering.net>
Fri, 5 Jan 2018 12:41:33 +0000 (13:41 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 11 Jan 2018 14:12:16 +0000 (15:12 +0100)
commit6b44a121c15584f340f73cf9ef8aa144ddcc22b2
tree8cff98ed54474c14ff27ae2fddfd6dd37add42b4
parent2b44daaa201299f347ac539f111b8df66a1d5389
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 [new file with mode: 0644]
src/udev/net/ethtool-util.c