projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fdd44d
)
Fix make_message example.
author
Ulrich Drepper
<drepper@redhat.com>
Sat, 4 Feb 2006 07:12:54 +0000
(07:12 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Sat, 4 Feb 2006 07:12:54 +0000
(07:12 +0000)
manual/stdio.texi
patch
|
blob
|
history
diff --git
a/manual/stdio.texi
b/manual/stdio.texi
index
e4278b7
..
c471209
100644
(file)
--- a/
manual/stdio.texi
+++ b/
manual/stdio.texi
@@
-2357,7
+2357,8
@@
make_message (char *name, char *value)
@{
/* @r{Reallocate buffer now that we know
how much space is needed.} */
- buffer = (char *) xrealloc (buffer, nchars + 1);
+ size = nchars + 1;
+ buffer = (char *) xrealloc (buffer, size);
if (buffer != NULL)
/* @r{Try again.} */