summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-common-errors.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-02-02 11:47:30 +0100
committerGitHub <noreply@github.com>2017-02-02 11:47:30 +0100
commit486b3d08dbf6c6b0b20e2960990f864d5d95fd37 (patch)
tree344ec80fd2934ecab8b61b4cba4d6ddeb0eba27a /src/libsystemd/sd-bus/bus-common-errors.c
parentb415174d8e0be2f156d4ec22f3c095feae2a5362 (diff)
parente0f6599411ae957eb4138b3e8bcb0c9ad4911576 (diff)
Merge pull request #5204 from keszybz/masked-warning-cleanup
Cleanup of error code mismatch for masked units
Diffstat (limited to 'src/libsystemd/sd-bus/bus-common-errors.c')
-rw-r--r--src/libsystemd/sd-bus/bus-common-errors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-common-errors.c b/src/libsystemd/sd-bus/bus-common-errors.c
index d2a826bf6e..c9fd79e3b4 100644
--- a/src/libsystemd/sd-bus/bus-common-errors.c
+++ b/src/libsystemd/sd-bus/bus-common-errors.c
@@ -38,7 +38,7 @@ BUS_ERROR_MAP_ELF_REGISTER const sd_bus_error_map bus_common_errors[] = {
SD_BUS_ERROR_MAP(BUS_ERROR_TRANSACTION_JOBS_CONFLICTING, EDEADLK),
SD_BUS_ERROR_MAP(BUS_ERROR_TRANSACTION_ORDER_IS_CYCLIC, EDEADLK),
SD_BUS_ERROR_MAP(BUS_ERROR_TRANSACTION_IS_DESTRUCTIVE, EDEADLK),
- SD_BUS_ERROR_MAP(BUS_ERROR_UNIT_MASKED, ESHUTDOWN),
+ SD_BUS_ERROR_MAP(BUS_ERROR_UNIT_MASKED, ERFKILL),
SD_BUS_ERROR_MAP(BUS_ERROR_UNIT_GENERATED, EADDRNOTAVAIL),
SD_BUS_ERROR_MAP(BUS_ERROR_UNIT_LINKED, ELOOP),
SD_BUS_ERROR_MAP(BUS_ERROR_JOB_TYPE_NOT_APPLICABLE, EBADR),