From 089485cbe49715a575f41d12531fe340c81c7462 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Mon, 2 Feb 2009 10:54:23 +1100 Subject: [PATCH] Typo in earlier patch : asprintf -> vasprintf Signed-off-by: NeilBrown --- mdadm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdadm.h b/mdadm.h index ab779b28..0d5c7211 100644 --- 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; -- 2.39.2