|
@@ -4968,13 +4968,12 @@ static void pretty_print(struct trace_seq *s, void *data, int size, struct event
|
|
sizeof(long) != 8) {
|
|
sizeof(long) != 8) {
|
|
char *p;
|
|
char *p;
|
|
|
|
|
|
- ls = 2;
|
|
|
|
/* make %l into %ll */
|
|
/* make %l into %ll */
|
|
- p = strchr(format, 'l');
|
|
|
|
- if (p)
|
|
|
|
|
|
+ if (ls == 1 && (p = strchr(format, 'l')))
|
|
memmove(p+1, p, strlen(p)+1);
|
|
memmove(p+1, p, strlen(p)+1);
|
|
else if (strcmp(format, "%p") == 0)
|
|
else if (strcmp(format, "%p") == 0)
|
|
strcpy(format, "0x%llx");
|
|
strcpy(format, "0x%llx");
|
|
|
|
+ ls = 2;
|
|
}
|
|
}
|
|
switch (ls) {
|
|
switch (ls) {
|
|
case -2:
|
|
case -2:
|