Commit 61ce81b0 authored by Chanho Park's avatar Chanho Park Committed by Pavel Emelyanov

pie: log: parse %llx argument correctly

A x64 only converts PRIx64 to %lx. However, ARM will convert it to %llx.
Thus, we have to peek one more character and skip it if next is 'l'.
Signed-off-by: 's avatarChanho Park <chanho61.park@samsung.com>
Signed-off-by: 's avatarMyungjoo Ham <myungjoo.ham@samsung.com>
Acked-by: 's avatarAlexander Kartashov <alekskartashov@parallels.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 14807089
......@@ -226,6 +226,8 @@ void print_on_level(unsigned int loglevel, const char *format, ...)
if (*s == 'l') {
along = 1;
s++;
if (*s == 'l')
s++;
}
switch (*s) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment