[parisc-linux-cvs] small printk warning fix

Helge Deller deller@gmx.de
Tue, 28 Aug 2001 14:13:41 +0200


Index: fault.c
===================================================================
RCS file: /home/cvs/parisc/linux/arch/parisc/mm/fault.c,v
retrieving revision 1.32
retrieving revision 1.34
diff -u -r1.32 -r1.34
--- fault.c     2001/07/14 21:17:03     1.32
+++ fault.c     2001/08/28 12:09:57     1.34
@@ -214,8 +214,8 @@
 
 #ifdef PRINT_USER_FAULTS
                printk(KERN_DEBUG "\n");
-               printk(KERN_DEBUG "do_page_fault() pid=%d command='%s' type=%d address=0x%08lx\n",
-                   tsk->pid, tsk->comm, code, (unsigned long) address);
+               printk(KERN_DEBUG "do_page_fault() pid=%d command='%s' type=%lu address=0x%08lx\n",
+                   tsk->pid, tsk->comm, code, address);
                if (vma) {
                        printk(KERN_DEBUG "vm_start = 0x%08lx, vm_end = 0x%08lx\n",
                                        vma->vm_start, vma->vm_end);