summaryrefslogtreecommitdiff
path: root/argp/argp-help.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-08-09 00:58:08 +0000
committerRoland McGrath <roland@gnu.org>2005-08-09 00:58:08 +0000
commitc7b2c636e87514de323570b163c726194b2d0dba (patch)
treee9506a6a24fbf9a1e283612940f116798cfd130c /argp/argp-help.c
parent1d9aa9ce62fb97d118d5ff4f8b862b30584ba232 (diff)
downloadglibc-c7b2c636e87514de323570b163c726194b2d0dba.tar.gz
2005-08-08 Roland McGrath <roland@redhat.com>
* argp/argp-help.c (__argp_error): __asprintf -> vasprintf. (__argp_failure): Likewise.
Diffstat (limited to 'argp/argp-help.c')
-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);