projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move C labels to start-of-line
[coreboot.git]
/
src
/
console
/
vtxprintf.c
diff --git
a/src/console/vtxprintf.c
b/src/console/vtxprintf.c
index 944fd5b96f348f9cf14d2065ff8730da04dae1ed..405302311d6d6a6c85ca6692ea3fbdbf7f61f827 100644
(file)
--- a/
src/console/vtxprintf.c
+++ b/
src/console/vtxprintf.c
@@
-123,7
+123,7
@@
int vtxprintf(void (*tx_byte)(unsigned char byte), const char *fmt, va_list args
/* process flags */
flags = 0;
-
repeat:
+repeat:
++fmt; /* this also skips first '%' */
switch (*fmt) {
case '-': flags |= LEFT; goto repeat;