From d51f075a4e71cbde5f25cd22cf07d0b7691d4c6c Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 7 Jun 2008 07:27:28 +0000 Subject: Use a socketpair to synchronise server startup. --- status.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'status.c') diff --git a/status.c b/status.c index 4e950d76..e897b6bd 100644 --- a/status.c +++ b/status.c @@ -1,4 +1,4 @@ -/* $Id: status.c,v 1.23 2008-06-07 06:13:21 nicm Exp $ */ +/* $Id: status.c,v 1.24 2008-06-07 07:27:28 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -43,7 +43,7 @@ status_write_client(struct client *c) return; if (clock_gettime(CLOCK_REALTIME, &c->status_ts) != 0) - fatal("clock_gettime"); + fatal("clock_gettime failed"); left = options_get_string(&c->session->options, "status-left"); strftime(lbuf, sizeof lbuf, left, localtime(&(c->status_ts.tv_sec))); -- cgit