diff options
author | 2009-09-20 14:58:12 +0000 | |
---|---|---|
committer | 2009-09-20 14:58:12 +0000 | |
commit | 85d997dce70e26fe1f89d6c92f6b3e34ad197a1c (patch) | |
tree | e0948db89f23cef27d9437ebc3011ccff2d637d7 /usr.bin/tmux/client.c | |
parent | sync (diff) | |
download | wireguard-openbsd-85d997dce70e26fe1f89d6c92f6b3e34ad197a1c.tar.xz wireguard-openbsd-85d997dce70e26fe1f89d6c92f6b3e34ad197a1c.zip |
Regularise some fatal messages.
Diffstat (limited to 'usr.bin/tmux/client.c')
-rw-r--r-- | usr.bin/tmux/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/client.c b/usr.bin/tmux/client.c index c578c2c8791..de6a69716ff 100644 --- a/usr.bin/tmux/client.c +++ b/usr.bin/tmux/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.17 2009/09/02 23:49:25 nicm Exp $ */ +/* $OpenBSD: client.c,v 1.18 2009/09/20 14:58:12 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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) { |