This commit is contained in:
Eelco Dolstra 2021-08-25 13:28:36 +02:00
parent 43d4d75e22
commit b299560872

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)