From: Philip Homburg Date: Mon, 24 Oct 2005 13:47:24 +0000 (+0000) Subject: Added paning variable to help routing debug output. X-Git-Tag: v3.1.2a~550 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doc/zpipe.c?a=commitdiff_plain;h=29eed99c710dbaa70d0514d36d90a240183017d9;p=minix.git Added paning variable to help routing debug output. --- diff --git a/lib/sysutil/panic.c b/lib/sysutil/panic.c index a3a479cea..b08621e45 100644 --- a/lib/sysutil/panic.c +++ b/lib/sysutil/panic.c @@ -2,6 +2,8 @@ #include "sysutil.h" +int panicing= 0; + /*===========================================================================* * panic * *===========================================================================*/ @@ -16,6 +18,8 @@ int num; /* number to go with format string */ */ message m; void (*suicide)(void); + + panicing= 1; if (NULL != who && NULL != mess) { if (num != NO_NUM) { printf("Panic in %s: %s: %d\n", who, mess, num);