diff options
author | Scott Long <scottl@FreeBSD.org> | 2013-07-19 06:42:15 +0000 |
---|---|---|
committer | Scott Long <scottl@FreeBSD.org> | 2013-07-19 06:42:15 +0000 |
commit | 748e404f265fbf5c868b090f03da1bae6bb12d4e (patch) | |
tree | 8cb25d3cba402a1dc42cfbdc70a1a4eb79cc3529 /lib/libgeom/geom_xml2tree.c | |
parent | 750288f3432967395b04947b65877336aec60d1f (diff) |
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
Notes
Notes:
svn path=/head/; revision=253469
Diffstat (limited to 'lib/libgeom/geom_xml2tree.c')
-rw-r--r-- | lib/libgeom/geom_xml2tree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libgeom/geom_xml2tree.c b/lib/libgeom/geom_xml2tree.c index 02be01991c1e..2874cd0abd9c 100644 --- a/lib/libgeom/geom_xml2tree.c +++ b/lib/libgeom/geom_xml2tree.c @@ -282,7 +282,9 @@ EndElement(void *userData, const char *name) } if (p != NULL) { +#if DEBUG_LIBGEOM > 0 printf("Unexpected XML: name=%s data=\"%s\"\n", name, p); +#endif free(p); } |