diff options
Diffstat (limited to 'tools/regression/geom/MdLoad/MdLoad.c')
-rw-r--r-- | tools/regression/geom/MdLoad/MdLoad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/geom/MdLoad/MdLoad.c b/tools/regression/geom/MdLoad/MdLoad.c index 710d7d3..33ee4de 100644 --- a/tools/regression/geom/MdLoad/MdLoad.c +++ b/tools/regression/geom/MdLoad/MdLoad.c @@ -208,7 +208,7 @@ g_simdisk_xml_load(const char *file) int fd, i; sc = calloc(1, sizeof *sc); - sc->sbuf = sbuf_new(NULL, NULL, 0, SBUF_AUTOEXTEND); + sc->sbuf = sbuf_new_auto(); LIST_INIT(&sc->sectors); XML_SetUserData(parser, sc); XML_SetElementHandler(parser, startElement, endElement); |