projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d9aa9c
)
2005-08-08 Roland McGrath <roland@redhat.com>
author
Roland McGrath
<roland@gnu.org>
Tue, 9 Aug 2005 00:58:08 +0000
(
00:58
+0000)
committer
Roland McGrath
<roland@gnu.org>
Tue, 9 Aug 2005 00:58:08 +0000
(
00:58
+0000)
* argp/argp-help.c (__argp_error): __asprintf -> vasprintf.
(__argp_failure): Likewise.
argp/argp-help.c
patch
|
blob
|
history
diff --git
a/argp/argp-help.c
b/argp/argp-help.c
index
ee61ed4
..
abd59c1
100644
(file)
--- 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 (
v
asprintf (&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 (
v
asprintf (&buf, fmt, ap) < 0)
buf = NULL;
__fxprintf (stream, ": %s", buf);