chiark / gitweb /
tree-wide: there is no ENOTSUP on linux
[elogind.git] / src / journal-remote / journal-remote.c
index 64498ddda3bc6b4114d1fb0f01f4dbfb40adad3a..2e1c798fc18b0d07fa78be6c54d969664c900b10 100644 (file)
@@ -698,7 +698,7 @@ static int setup_microhttpd_server(RemoteServer *s,
         info = MHD_get_daemon_info(d->daemon, MHD_DAEMON_INFO_EPOLL_FD_LINUX_ONLY);
         if (!info) {
                 log_error("µhttp returned NULL daemon info");
-                r = -ENOTSUP;
+                r = -EOPNOTSUPP;
                 goto error;
         }