summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_int.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-01-09 11:13:03 +0000
committermav <mav@FreeBSD.org>2014-01-09 11:13:03 +0000
commit263d261fe55e7315883f0397f146339fa8ca3984 (patch)
treeffb87a4a79b9f7013b3c6f39621574b722f646ba /sys/geom/geom_int.h
parent3b6d8c3206c5262da9ef00988dfdb8a2b7863170 (diff)
downloadFreeBSD-src-263d261fe55e7315883f0397f146339fa8ca3984.zip
FreeBSD-src-263d261fe55e7315883f0397f146339fa8ca3984.tar.gz
MFC r258683:
Escape special XML chars, returned by some devices, confusing XML parsers.
Diffstat (limited to 'sys/geom/geom_int.h')
-rw-r--r--sys/geom/geom_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/geom_int.h b/sys/geom/geom_int.h
index 22f42e2..d5af866 100644
--- a/sys/geom/geom_int.h
+++ b/sys/geom/geom_int.h
@@ -57,6 +57,7 @@ extern int g_debugflags;
/* geom_dump.c */
void g_confxml(void *, int flag);
void g_conf_specific(struct sbuf *sb, struct g_class *mp, struct g_geom *gp, struct g_provider *pp, struct g_consumer *cp);
+void g_conf_printf_escaped(struct sbuf *sb, const char *fmt, ...);
void g_confdot(void *, int flag);
void g_conftxt(void *, int flag);
OpenPOWER on IntegriCloud