Date: Tue, 17 Jun 2014 11:58:38 +0000 (UTC) From: Christian Brueffer <brueffer@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r267576 - stable/9/contrib/openbsm/libbsm Message-ID: <201406171158.s5HBwc07037974@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brueffer Date: Tue Jun 17 11:58:37 2014 New Revision: 267576 URL: http://svnweb.freebsd.org/changeset/base/267576 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 Approved by: re (marius) Modified: stable/9/contrib/openbsm/libbsm/bsm_io.c Directory Properties: stable/9/contrib/openbsm/ (props changed) Modified: stable/9/contrib/openbsm/libbsm/bsm_io.c ============================================================================== --- stable/9/contrib/openbsm/libbsm/bsm_io.c Tue Jun 17 09:33:22 2014 (r267575) +++ stable/9/contrib/openbsm/libbsm/bsm_io.c Tue Jun 17 11:58:37 2014 (r267576) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406171158.s5HBwc07037974>