svn commit: r267576 - stable/9/contrib/openbsm/libbsm

Christian Brueffer brueffer at FreeBSD.org
Tue Jun 17 11:58:38 UTC 2014


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


More information about the svn-src-stable-9 mailing list