summaryrefslogtreecommitdiff
path: root/src/systemctl
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-12-30 18:22:53 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-12-30 18:39:52 -0500
commitcaffa4ef700fdd0eadd6c0b2ef9925611672a1bc (patch)
tree50e7ab86b7bb89d9472b3e29abaa6eb03b41c32a /src/systemctl
parentb52a4a3b05a2a0d69868d57fd54f6e4b8fa0e7ca (diff)
bus: replace ENOSYS return codes with EBADR/ENOTSUP
ENOSYS is used to signify compiled-out functionality. Using it for different kinds of error is misleading. For BUS_ERROR_SLEEP_VERB_NOT_SUPPORTED, logind-action.c uses ENOTSUP already, so changing it to ENOTSUP makes the dbus and action paths behave the same.
Diffstat (limited to 'src/systemctl')
0 files changed, 0 insertions, 0 deletions