From 8d1bc501202d7de0c3e0dd0ce8473423817a710f Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 28 May 2012 21:18:25 +0200 Subject: [PATCH] software/libbase/vsnprintf: treat %g as %f (temporary hack) --- software/libbase/vsnprintf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/software/libbase/vsnprintf.c b/software/libbase/vsnprintf.c index a257ab70..57948a6a 100644 --- a/software/libbase/vsnprintf.c +++ b/software/libbase/vsnprintf.c @@ -192,6 +192,7 @@ int vsnprintf(char *buf, size_t size, const char *fmt, va_list args) 16, field_width, precision, flags); continue; + case 'g': case 'f': { int m; double f; -- 2.30.2