diff options
| -rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -492,7 +492,7 @@ static void print_trailer(struct kmem_cache *s, struct page *page, u8 *p) | |||
| 492 | if (p > addr + 16) | 492 | if (p > addr + 16) |
| 493 | print_section("Bytes b4", p - 16, 16); | 493 | print_section("Bytes b4", p - 16, 16); |
| 494 | 494 | ||
| 495 | print_section("Object", p, min(s->objsize, 128)); | 495 | print_section("Object", p, min_t(unsigned long, s->objsize, PAGE_SIZE)); |
| 496 | 496 | ||
| 497 | if (s->flags & SLAB_RED_ZONE) | 497 | if (s->flags & SLAB_RED_ZONE) |
| 498 | print_section("Redzone", p + s->objsize, | 498 | print_section("Redzone", p + s->objsize, |
