From owner-svn-src-all@FreeBSD.ORG Tue Jun 17 08:56:17 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 41F6E33E; Tue, 17 Jun 2014 08:56:17 +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 2E542257F; Tue, 17 Jun 2014 08:56:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5H8uHXL053887; Tue, 17 Jun 2014 08:56:17 GMT (envelope-from brueffer@svn.freebsd.org) Received: (from brueffer@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5H8uHVw053886; Tue, 17 Jun 2014 08:56:17 GMT (envelope-from brueffer@svn.freebsd.org) Message-Id: <201406170856.s5H8uHVw053886@svn.freebsd.org> From: Christian Brueffer Date: Tue, 17 Jun 2014 08:56:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r267573 - stable/10/contrib/openbsm/libbsm X-SVN-Group: stable-10 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: Tue, 17 Jun 2014 08:56:17 -0000 Author: brueffer Date: Tue Jun 17 08:56:16 2014 New Revision: 267573 URL: http://svnweb.freebsd.org/changeset/base/267573 Log: MFC: r267478 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 Modified: stable/10/contrib/openbsm/libbsm/bsm_io.c Directory Properties: stable/10/ (props changed) Modified: stable/10/contrib/openbsm/libbsm/bsm_io.c ============================================================================== --- stable/10/contrib/openbsm/libbsm/bsm_io.c Tue Jun 17 08:11:45 2014 (r267572) +++ stable/10/contrib/openbsm/libbsm/bsm_io.c Tue Jun 17 08:56:16 2014 (r267573) @@ -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);