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

Reply via email to