about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--argp/argp-help.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/argp/argp-help.c b/argp/argp-help.c
index ee61ed4d5c..abd59c12f9 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -1766,7 +1766,7 @@ __argp_error (const struct argp_state *state, const char *fmt, ...)
 #ifdef _LIBC
 	  char *buf;
 
-	  if (__asprintf (&buf, fmt, ap) < 0)
+	  if (vasprintf (&buf, fmt, ap) < 0)
 	    buf = NULL;
 
 	  __fxprintf (stream, "%s: %s\n",
@@ -1836,7 +1836,7 @@ __argp_failure (const struct argp_state *state, int status, int errnum,
 #ifdef _LIBC
 	      char *buf;
 
-	      if (__asprintf (&buf, fmt, ap) < 0)
+	      if (vasprintf (&buf, fmt, ap) < 0)
 		buf = NULL;
 
 	      __fxprintf (stream, ": %s", buf);