svn commit: r267573 - stable/10/contrib/openbsm/libbsm

Christian Brueffer brueffer at FreeBSD.org
Tue Jun 17 08:56:17 UTC 2014


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);


More information about the svn-src-stable mailing list