nix-daemon: Fix error message

This commit is contained in:
Shea Levy 2016-09-12 08:09:41 -04:00
parent 196815f700
commit b99c6e0e29

View file

@ -961,7 +961,7 @@ int main(int argc, char * * argv)
auto socketDir = dirOf(socketPath);
if (chdir(socketDir.c_str()) == -1)
throw SysError(format("changing to socket directory %1%") % socketDir);
throw SysError(format("changing to socket directory %1%") % socketDir);
auto socketName = baseNameOf(socketPath);
auto addr = sockaddr_un{};