svn commit: r218201 - head/sbin/hastctl
Bjoern A. Zeeb
bz at FreeBSD.org
Wed Feb 2 20:00:36 UTC 2011
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);
}
More information about the svn-src-all
mailing list