Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2014 12:17:45 +0000 (UTC)
From:      Christian Brueffer <brueffer@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r267478 - head/contrib/openbsm/libbsm
Message-ID:  <201406141217.s5ECHjCl046079@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



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