From owner-svn-src-all@FreeBSD.ORG Wed Feb 2 20:00:35 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9E0B1065693; Wed, 2 Feb 2011 20:00:35 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C80A98FC18; Wed, 2 Feb 2011 20:00:35 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p12K0Zua020303; Wed, 2 Feb 2011 20:00:35 GMT (envelope-from bz@svn.freebsd.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p12K0ZFY020301; Wed, 2 Feb 2011 20:00:35 GMT (envelope-from bz@svn.freebsd.org) Message-Id: <201102022000.p12K0ZFY020301@svn.freebsd.org> From: "Bjoern A. Zeeb" Date: Wed, 2 Feb 2011 20:00:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218201 - head/sbin/hastctl X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2011 20:00:36 -0000 Author: bz Date: Wed Feb 2 20:00:35 2011 New Revision: 218201 URL: http://svn.freebsd.org/changeset/base/218201 Log: Add missing argument after r218192. Modified: head/sbin/hastctl/hastctl.c Modified: head/sbin/hastctl/hastctl.c ============================================================================== --- head/sbin/hastctl/hastctl.c Wed Feb 2 19:20:20 2011 (r218200) +++ head/sbin/hastctl/hastctl.c Wed Feb 2 20:00:35 2011 (r218201) @@ -487,7 +487,7 @@ main(int argc, char *argv[]) cfg->hc_controladdr); } /* ...and connect to hastd. */ - if (proto_connect(controlconn) < 0) { + if (proto_connect(controlconn, HAST_TIMEOUT) < 0) { pjdlog_exit(EX_OSERR, "Unable to connect to hastd via %s", cfg->hc_controladdr); }