From 6df3bf2aef5297c5b467bc48e96bac4b45b1125a Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 20 Feb 2015 20:39:45 +0000 Subject: [PATCH] banking: fix panic uses --- Kernel/bank16k.c | 2 +- Kernel/bank16k_low.c | 2 +- Kernel/simple.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Kernel/bank16k.c b/Kernel/bank16k.c index 09f7399b..5addb2e6 100644 --- a/Kernel/bank16k.c +++ b/Kernel/bank16k.c @@ -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 diff --git a/Kernel/bank16k_low.c b/Kernel/bank16k_low.c index adcaedd2..00696160 100644 --- a/Kernel/bank16k_low.c +++ b/Kernel/bank16k_low.c @@ -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 diff --git a/Kernel/simple.c b/Kernel/simple.c index 70c6da9b..a4313fe3 100644 --- a/Kernel/simple.c +++ b/Kernel/simple.c @@ -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 -- 2.34.1