chiark / gitweb /
tree-wide: there is no ENOTSUP on linux
[elogind.git] / src / login / logind-action.c
index 20c1c89eee7e1128e505ded71a49af8211d1b68f..281e3c756913adb9c194cfe6523351df0af905b3 100644 (file)
@@ -112,7 +112,7 @@ int manager_handle_action(
 
         if (!supported) {
                 log_warning("Requested operation not supported, ignoring.");
-                return -ENOTSUP;
+                return -EOPNOTSUPP;
         }
 
         if (m->action_what) {