banking: fix panic uses
authorAlan Cox <alan@linux.intel.com>
Fri, 20 Feb 2015 20:39:45 +0000 (20:39 +0000)
committerAlan Cox <alan@linux.intel.com>
Fri, 20 Feb 2015 20:39:45 +0000 (20:39 +0000)
Kernel/bank16k.c
Kernel/bank16k_low.c
Kernel/simple.c

index 09f7399..5addb2e 100644 (file)
@@ -174,7 +174,7 @@ int swapout(ptptr p)
        swapproc = p;
 
        if (page)
-               panic("%x: process already swapped!\n", p);
+               panic("process already swapped!\n");
 #ifdef DEBUG
        kprintf("Swapping out %x (%d)\n", p, p->p_page);
 #endif
index adcaedd..0069616 100644 (file)
@@ -178,7 +178,7 @@ int swapout(ptptr p)
        swapproc = p;
 
        if (page)
-               panic("%x: process already swapped!\n", p);
+               panic("process already swapped!\n");
 #ifdef DEBUG
        kprintf("Swapping out %x (%d)\n", p, p->p_page);
 #endif
index 70c6da9..a4313fe 100644 (file)
@@ -63,7 +63,7 @@ int swapout(ptptr p)
        swapproc = p;
 
        if (!page)
-               panic("%x: process already swapped!\n", p);
+               panic("process already swapped!\n");
 #ifdef DEBUG
        kprintf("Swapping out %x (%d)\n", p, p->p_page);
 #endif