From owner-svn-src-all@FreeBSD.ORG Sat Jun 14 12:17:45 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8B8BEAF6; Sat, 14 Jun 2014 12:17:45 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 782C02B47; Sat, 14 Jun 2014 12:17:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5ECHjU3046080; Sat, 14 Jun 2014 12:17:45 GMT (envelope-from brueffer@svn.freebsd.org) Received: (from brueffer@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5ECHjCl046079; Sat, 14 Jun 2014 12:17:45 GMT (envelope-from brueffer@svn.freebsd.org) Message-Id: <201406141217.s5ECHjCl046079@svn.freebsd.org> From: Christian Brueffer Date: Sat, 14 Jun 2014 12:17:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r267478 - head/contrib/openbsm/libbsm X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 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: Sat, 14 Jun 2014 12:17:45 -0000 Author: brueffer Date: Sat Jun 14 12:17:45 2014 New Revision: 267478 URL: http://svnweb.freebsd.org/changeset/base/267478 Log: MFp4: change 1191346 In print_header32_tok(), correct printing in the XML case. This lead to invalid XML files before. PR: 176259 Submitted by: zi MFC after: 3 days Modified: head/contrib/openbsm/libbsm/bsm_io.c Modified: head/contrib/openbsm/libbsm/bsm_io.c ============================================================================== --- head/contrib/openbsm/libbsm/bsm_io.c Sat Jun 14 11:46:22 2014 (r267477) +++ head/contrib/openbsm/libbsm/bsm_io.c Sat Jun 14 12:17:45 2014 (r267478) @@ -949,7 +949,7 @@ print_header32_tok(FILE *fp, tokenstr_t { print_tok_type(fp, tok->id, "header", oflags); - if (oflags & AU_OFLAG_RAW) { + if (oflags & AU_OFLAG_XML) { open_attr(fp, "version"); print_1_byte(fp, tok->tt.hdr32.version, "%u"); close_attr(fp);