From owner-svn-src-all@FreeBSD.ORG Fri Aug 6 05:20:21 2010 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 DC89F106564A; Fri, 6 Aug 2010 05:20:21 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id CAECF8FC16; Fri, 6 Aug 2010 05:20:21 +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 o765KLia016303; Fri, 6 Aug 2010 05:20:21 GMT (envelope-from dougb@svn.freebsd.org) Received: (from dougb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o765KL2I016302; Fri, 6 Aug 2010 05:20:21 GMT (envelope-from dougb@svn.freebsd.org) Message-Id: <201008060520.o765KL2I016302@svn.freebsd.org> From: Doug Barton Date: Fri, 6 Aug 2010 05:20:21 +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: r210909 - 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: Fri, 06 Aug 2010 05:20:22 -0000 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) {