Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Aug 2010 05:20:21 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r210909 - head/sbin/hastctl
Message-ID:  <201008060520.o765KL2I016302@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dougb
Date: Fri Aug  6 05:20:21 2010
New Revision: 210909
URL: http://svn.freebsd.org/changeset/base/210909

Log:
  Update the arguments to yy_config_parse() to match r210883.
  
  Choose the more conservative option ('yes' to exit on error) to match
  the equivalent code in hastd.

Modified:
  head/sbin/hastctl/hastctl.c

Modified: head/sbin/hastctl/hastctl.c
==============================================================================
--- head/sbin/hastctl/hastctl.c	Fri Aug  6 02:17:58 2010	(r210908)
+++ head/sbin/hastctl/hastctl.c	Fri Aug  6 05:20:21 2010	(r210909)
@@ -432,7 +432,7 @@ main(int argc, char *argv[])
 
 	pjdlog_debug_set(debug);
 
-	cfg = yy_config_parse(cfgpath);
+	cfg = yy_config_parse(cfgpath, true);
 	assert(cfg != NULL);
 
 	switch (cmd) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008060520.o765KL2I016302>