Regularise some fatal messages.

This commit is contained in:
Nicholas Marriott
2009-09-20 14:58:12 +00:00
parent 63d499f480
commit 273f1b385c
9 changed files with 16 additions and 16 deletions

View File

@@ -74,7 +74,7 @@ client_init(char *path, struct client_ctx *cctx, int cmdflags, int flags)
}
if ((fd = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
fatal("socket");
fatal("socket failed");
if (connect(fd, (struct sockaddr *) &sa, SUN_LEN(&sa)) == -1) {
if (errno == ECONNREFUSED) {