summaryrefslogtreecommitdiffstats
path: root/sbin/hastctl
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2011-02-02 20:00:35 +0000
committerbz <bz@FreeBSD.org>2011-02-02 20:00:35 +0000
commit4f26140aec6f57ec5a1578bb72e4317595eea7df (patch)
tree8fb15beee69dee8bd1c5dd5a572cd72cbc8ed4f7 /sbin/hastctl
parentd53cb8f4e925d27fe14fb48d47f7300b45bbae64 (diff)
downloadFreeBSD-src-4f26140aec6f57ec5a1578bb72e4317595eea7df.zip
FreeBSD-src-4f26140aec6f57ec5a1578bb72e4317595eea7df.tar.gz
Add missing argument after r218192.
Diffstat (limited to 'sbin/hastctl')
-rw-r--r--sbin/hastctl/hastctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/hastctl/hastctl.c b/sbin/hastctl/hastctl.c
index 80b4e49..beb2fa1 100644
--- a/sbin/hastctl/hastctl.c
+++ b/sbin/hastctl/hastctl.c
@@ -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);
}
OpenPOWER on IntegriCloud