Added paning variable to help routing debug output.
This commit is contained in:
parent
6a0a7c1a76
commit
29eed99c71
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
#include "sysutil.h"
|
#include "sysutil.h"
|
||||||
|
|
||||||
|
int panicing= 0;
|
||||||
|
|
||||||
/*===========================================================================*
|
/*===========================================================================*
|
||||||
* panic *
|
* panic *
|
||||||
*===========================================================================*/
|
*===========================================================================*/
|
||||||
@ -16,6 +18,8 @@ int num; /* number to go with format string */
|
|||||||
*/
|
*/
|
||||||
message m;
|
message m;
|
||||||
void (*suicide)(void);
|
void (*suicide)(void);
|
||||||
|
|
||||||
|
panicing= 1;
|
||||||
if (NULL != who && NULL != mess) {
|
if (NULL != who && NULL != mess) {
|
||||||
if (num != NO_NUM) {
|
if (num != NO_NUM) {
|
||||||
printf("Panic in %s: %s: %d\n", who, mess, num);
|
printf("Panic in %s: %s: %d\n", who, mess, num);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user