]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdadm.h
Typo in earlier patch : asprintf -> vasprintf
[thirdparty/mdadm.git] / mdadm.h
diff --git a/mdadm.h b/mdadm.h
index ab779b286dbe31fb2af04ff75c0620d1b5cdfb04..0d5c721125b5b5c3e04e4ee81b4f1351c63565ca 100644 (file)
--- a/mdadm.h
+++ b/mdadm.h
@@ -537,7 +537,7 @@ static inline int xasprintf(char **strp, const char *fmt, ...) {
        va_list ap;
        int ret;
        va_start(ap, fmt);
-       ret = asprintf(strp, fmt, ap);
+       ret = vasprintf(strp, fmt, ap);
        va_end(ap);
        assert(ret >= 0);
        return ret;