summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-09-20 22:11:27 +0000
committerTiago Cunha <tcunha@gmx.com>2009-09-20 22:11:27 +0000
commit3266fb5441e99c809ee56806a0eb8d113a4d099f (patch)
treef52c08a3d9aed0b3861348f4a20f8ddf21e4e99d /client.c
parentab967724365e8210ad51bbaa8b2c2d28f548e188 (diff)
Sync OpenBSD patchset 332:
Regularise some fatal messages.
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index b0f175b9..75e46b28 100644
--- a/client.c
+++ b/client.c
@@ -1,4 +1,4 @@
-/* $Id: client.c,v 1.70 2009-09-03 21:06:30 tcunha Exp $ */
+/* $Id: client.c,v 1.71 2009-09-20 22:11:27 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -78,7 +78,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) {