Minor hack - allow formats with 'l' to be shown in printf.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 8 Mar 2008 20:40:43 +0000 (15:40 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 8 Mar 2008 20:40:43 +0000 (15:40 -0500)
src/output.c

index 98517a0..7d2787f 100644 (file)
@@ -124,6 +124,11 @@ bprintf(u16 action, const char *fmt, ...)
                 break;
             n++;
         }
+        if (c == 'l') {
+            // Ignore long format indicator
+            n++;
+            c = GET_VAR(CS, (u8)*n);
+        }
         s32 val;
         const char *sarg;
         switch (c) {