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);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to