Added paning variable to help routing debug output.
This commit is contained in:
parent
6a0a7c1a76
commit
29eed99c71
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue