chiark / gitweb /
tree-wide: there is no ENOTSUP on linux
[elogind.git] / src / core / bus-policy.c
index 710283dcd1533ab512db7d23ac3fddf0c8525fc9..064eee1c8a1cf49a5175fc8a4a4e3414177b1021 100644 (file)
@@ -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;
 }