From eb1cb641e1152fcdf29b9ac97e6597192e4282d4 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 19 Feb 2008 14:07:44 -0800 Subject: [PATCH] [v]rsprintf(): actually set the return pointer... --- com32/menu/refstr.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.7.4