]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Typo in earlier patch : asprintf -> vasprintf
authorDustin Kirkland <kirkland@canonical.com>
Sun, 1 Feb 2009 23:54:23 +0000 (10:54 +1100)
committerNeilBrown <neilb@suse.de>
Sun, 1 Feb 2009 23:54:23 +0000 (10:54 +1100)
Signed-off-by: NeilBrown <neilb@suse.de>
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;