chiark / gitweb /
tree-wide: there is no ENOTSUP on linux
[elogind.git] / src / core / load-fragment.c
index ea66ce01497f2aee15eef5c328083215f12b915d..bbf3a8a7fd725293615a39346e96744bd858a1b1 100644 (file)
@@ -373,7 +373,7 @@ int config_parse_socket_listen(const char *unit,
                 }
 
                 if (socket_address_family(&p->address) != AF_LOCAL && p->address.type == SOCK_SEQPACKET) {
-                        log_syntax(unit, LOG_ERR, filename, line, ENOTSUP,
+                        log_syntax(unit, LOG_ERR, filename, line, EOPNOTSUPP,
                                    "Address family not supported, ignoring: %s", rvalue);
                         return 0;
                 }