Dustin Kirkland: Typo in earlier patch : asprintf -> vasprintf

Martin F. Krafft madduck at alioth.debian.org
Tue Feb 3 10:10:10 UTC 2009


Module: mdadm
Branch: upstream
Commit: 089485cbe49715a575f41d12531fe340c81c7462
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=089485cbe49715a575f41d12531fe340c81c7462

Author: Dustin Kirkland <kirkland at canonical.com>
Date:   Mon Feb  2 10:54:23 2009 +1100

Typo in earlier patch : asprintf -> vasprintf

Signed-off-by: NeilBrown <neilb at suse.de>

---

 mdadm.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mdadm.h b/mdadm.h
index ab779b2..0d5c721 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;




More information about the pkg-mdadm-commits mailing list