diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-03-08 15:40:43 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-03-08 15:40:43 -0500 |
commit | a9096f405a04b46a21eac4ed5263143be2ef2b4f (patch) | |
tree | 01b9450b46842f9a4fde16fc94de4aba7fc3caa8 /src/output.c | |
parent | ef5789eca9f378f4f451dc92153c3589f2d3a45a (diff) | |
download | seabios-a9096f405a04b46a21eac4ed5263143be2ef2b4f.tar.gz |
Minor hack - allow formats with 'l' to be shown in printf.
Diffstat (limited to 'src/output.c')
-rw-r--r-- | src/output.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/output.c b/src/output.c index 98517a0c..7d2787f6 100644 --- 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) { |