]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-event: change error code -EINVAL -> -EIO
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 4 Aug 2024 02:29:03 +0000 (11:29 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sun, 4 Aug 2024 09:33:23 +0000 (11:33 +0200)
commitab9af70edb23f2a66e93e2e16f87cd98873885b7
tree20ab755c1f086d57417db66cc1c2918f5dd98c50
parentf4911e6bda12955780b99c28d3b9239385af53ac
sd-event: change error code -EINVAL -> -EIO

EINVAL should be used when a function is called with an invalid
argument. Here, the signal is not a function argument.

Follow-up for 7a64c5f23efbb51fe4f1229c1a8aed6dd858a0a9.
src/libsystemd/sd-event/sd-event.c