Commit 082be29e authored by David S. Miller's avatar David S. Miller

[PROC]: Printf field widths must be of type int, fix this in task_mmu.c.

parent b3393ebc
......@@ -91,13 +91,13 @@ static int show_map(struct seq_file *m, void *v)
}
seq_printf(m, "%0*lx-%0*lx %c%c%c%c %0*lx %02x:%02x %lu %n",
2*sizeof(void*), map->vm_start,
2*sizeof(void*), map->vm_end,
(int) (2*sizeof(void*)), map->vm_start,
(int) (2*sizeof(void*)), map->vm_end,
flags & VM_READ ? 'r' : '-',
flags & VM_WRITE ? 'w' : '-',
flags & VM_EXEC ? 'x' : '-',
flags & VM_MAYSHARE ? 's' : 'p',
2*sizeof(void*), map->vm_pgoff << PAGE_SHIFT,
(int) (2*sizeof(void*)), map->vm_pgoff << PAGE_SHIFT,
MAJOR(dev), MINOR(dev), ino, &len);
if (map->vm_file) {
......
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