From 907bec675a640d733f380ade2131ac05cb8eed48 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 31 Mar 2009 22:20:42 +0000 Subject: FD_CLOEXEC more fds. Still one I can't find... --- client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index 23cf6ec6..15c29349 100644 --- a/client.c +++ b/client.c @@ -1,4 +1,4 @@ -/* $Id: client.c,v 1.45 2009-03-27 17:04:04 nicm Exp $ */ +/* $Id: client.c,v 1.46 2009-03-31 22:20:42 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -85,9 +85,9 @@ client_init(char *path, struct client_ctx *cctx, int start_server, int flags) server_started: if ((mode = fcntl(cctx->srv_fd, F_GETFL)) == -1) - fatal("fcntl"); + fatal("fcntl failed"); if (fcntl(cctx->srv_fd, F_SETFL, mode|O_NONBLOCK) == -1) - fatal("fcntl"); + fatal("fcntl failed"); cctx->srv_in = buffer_create(BUFSIZ); cctx->srv_out = buffer_create(BUFSIZ); -- cgit v1.2.3