diff options
author | Roland McGrath <roland@gnu.org> | 2005-08-09 00:58:08 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-08-09 00:58:08 +0000 |
commit | c7b2c636e87514de323570b163c726194b2d0dba (patch) | |
tree | e9506a6a24fbf9a1e283612940f116798cfd130c /argp | |
parent | 1d9aa9ce62fb97d118d5ff4f8b862b30584ba232 (diff) | |
download | glibc-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')
-rw-r--r-- | argp/argp-help.c | 4 |
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); |