X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=coreboot.git;a=blobdiff_plain;f=src%2Fconsole%2Fvtxprintf.c;h=405302311d6d6a6c85ca6692ea3fbdbf7f61f827;hp=944fd5b96f348f9cf14d2065ff8730da04dae1ed;hb=c5fc7db3559e080858461b724251f87be6faa2cd;hpb=533ec00689d5affb283ea1a07c978972441deeba diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c index 944fd5b96..405302311 100644 --- 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;