software/libbase/vsnprintf: treat %g as %f (temporary hack)
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Mon, 28 May 2012 19:18:25 +0000 (21:18 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Mon, 28 May 2012 19:18:25 +0000 (21:18 +0200)
software/libbase/vsnprintf.c

index a257ab70db0846b090bc5ee4eeac16a743ea7858..57948a6a9a4b8ab0916d91998525efde121c050f 100644 (file)
@@ -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;