Added paning variable to help routing debug output.

This commit is contained in:
Philip Homburg 2005-10-24 13:47:24 +00:00
parent 6a0a7c1a76
commit 29eed99c71

View file

@ -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);