This commit is contained in:
Eelco Dolstra
2021-10-05 11:24:09 +02:00
parent 43d4d75e22
commit b299560872
+1 -1
View File
@@ -1749,7 +1749,7 @@ void connect(int fd, const std::string & path)
});
int status = pid.wait();
if (status != 0)
throw Error("cannot connect to socket ar '%s'", path);
throw Error("cannot connect to socket at '%s'", path);
} else {
strcpy(addr.sun_path, path.c_str());
if (connect(fd, (struct sockaddr *) &addr, sizeof(addr)) == -1)