X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/cca89d7ce589d10a226c6dfa212e36cbcad25fd2..3fc75114f93094024e457141d8e67cda38b87e9b:/lib/client-common.c diff --git a/lib/client-common.c b/lib/client-common.c index fb70817..3e419e4 100644 --- a/lib/client-common.c +++ b/lib/client-common.c @@ -71,7 +71,7 @@ socklen_t find_server(struct config *c, if(!name) name = config_get_file2(c, "socket"); if(strlen(name) >= sizeof su.sun_path) { - disorder_error(errno, "socket path is too long"); + disorder_error(0, "socket path is too long"); return -1; } memset(&su, 0, sizeof su);