summaryrefslogtreecommitdiff
path: root/src/core/bus-policy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/bus-policy.c')
-rw-r--r--src/core/bus-policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/bus-policy.c b/src/core/bus-policy.c
index 710283dcd1..064eee1c8a 100644
--- a/src/core/bus-policy.c
+++ b/src/core/bus-policy.c
@@ -160,7 +160,7 @@ int bus_kernel_make_starter(
/* The higher 32bit of the bus_flags fields are considered
* 'incompatible flags'. Refuse them all for now. */
if (hello->bus_flags > 0xFFFFFFFFULL)
- return -ENOTSUP;
+ return -EOPNOTSUPP;
return fd;
}