Since there's no defined schema for the XML that's generated by the

kern.geom.confxml sysctl, it's silly to warn about tags in libgeom,
especially since libgeom exists simply to build a tree out of the conf
information.

Obtained from:	Netflix
MFC after:	3 days
This commit is contained in:
Scott Long 2013-07-19 06:42:15 +00:00
parent 750288f343
commit 748e404f26
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253469
2 changed files with 6 additions and 0 deletions

View File

@ -282,7 +282,9 @@ EndElement(void *userData, const char *name)
} }
if (p != NULL) { if (p != NULL) {
#if DEBUG_LIBGEOM > 0
printf("Unexpected XML: name=%s data=\"%s\"\n", name, p); printf("Unexpected XML: name=%s data=\"%s\"\n", name, p);
#endif
free(p); free(p);
} }

View File

@ -40,6 +40,10 @@
__BEGIN_DECLS __BEGIN_DECLS
#ifndef DEBUG_LIBGEOM
#define DEBUG_LIBGEOM 0
#endif
void geom_stats_close(void); void geom_stats_close(void);
void geom_stats_resync(void); void geom_stats_resync(void);
int geom_stats_open(void); int geom_stats_open(void);