From: H. Peter Anvin Date: Tue, 19 Feb 2008 22:07:44 +0000 (-0800) Subject: [v]rsprintf(): actually set the return pointer... X-Git-Tag: syslinux-3.62-pre11~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb1cb641e1152fcdf29b9ac97e6597192e4282d4;p=profile%2Fivi%2Fsyslinux.git [v]rsprintf(): actually set the return pointer... --- diff --git a/com32/menu/refstr.c b/com32/menu/refstr.c index 5f35729..413561c 100644 --- 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); }