chiark / gitweb /
tree-wide: there is no ENOTSUP on linux
[elogind.git] / src / notify / notify.c
index a8ffbe9c8cb26475e385b9e230781c7ea2a2990e..00db75314ea499d6cc01490ae7bf42016a35a365 100644 (file)
@@ -197,7 +197,7 @@ int main(int argc, char* argv[]) {
         }
 
         if (r == 0)
-                r = -ENOTSUP;
+                r = -EOPNOTSUPP;
 
 finish:
         return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS;