projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5667d8d
)
[v]rsprintf(): actually set the return pointer...
author
H. Peter Anvin
<hpa@zytor.com>
Tue, 19 Feb 2008 22:07:44 +0000
(14:07 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Wed, 20 Feb 2008 00:51:23 +0000
(16:51 -0800)
com32/menu/refstr.c
patch
|
blob
|
history
diff --git
a/com32/menu/refstr.c
b/com32/menu/refstr.c
index
5f35729
..
413561c
100644
(file)
--- a/
com32/menu/refstr.c
+++ b/
com32/menu/refstr.c
@@
-66,6
+66,7
@@
int vrsprintf(const char **bufp, const char *fmt, va_list ap)
*(unsigned int *)p = 1;
p += sizeof(unsigned int);
+ *bufp = p;
return vsnprintf(p, bytes, fmt, ap);
}