projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef5789e
)
Minor hack - allow formats with 'l' to be shown in printf.
author
Kevin O'Connor
<kevin@koconnor.net>
Sat, 8 Mar 2008 20:40:43 +0000
(15:40 -0500)
committer
Kevin O'Connor
<kevin@koconnor.net>
Sat, 8 Mar 2008 20:40:43 +0000
(15:40 -0500)
src/output.c
patch
|
blob
|
history
diff --git
a/src/output.c
b/src/output.c
index 98517a0cc3214e2469c97c35e1a3ec73137d0571..7d2787f65a575b9d1a3b57db407717cd3e41d57f 100644
(file)
--- a/
src/output.c
+++ b/
src/output.c
@@
-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) {