From cdab464e301f2b11e0f670742126a84ed268af1f Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 24 Jan 2005 01:29:24 +0000 Subject: [PATCH] New macro for non-fatal, but nevertheless serious errors. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10997 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/registrar/Debug.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/servers/registrar/Debug.h b/src/servers/registrar/Debug.h index 198722872e..36ae2d7822 100644 --- a/src/servers/registrar/Debug.h +++ b/src/servers/registrar/Debug.h @@ -40,6 +40,7 @@ #define RETURN_ERROR(err) { status_t _status = err; if (_status < B_OK) REPORT_ERROR(_status); return _status;} #define SET_ERROR(var, err) { status_t _status = err; if (_status < B_OK) REPORT_ERROR(_status); var = _status; } #define FATAL(x) { __out(DEBUG_APP ": "); __out x; } + #define ERROR(x) { __out(DEBUG_APP ": "); __out x; } #define INFORM(x) { __out(DEBUG_APP ": "); __out x; } #define FUNCTION(x) { __out(DEBUG_APP ": %s() ",__FUNCTION__); __out x; } #define FUNCTION_START() { __out(DEBUG_APP ": %s()\n",__FUNCTION__); } @@ -51,6 +52,7 @@ #define RETURN_ERROR(status) return status; #define SET_ERROR(var, err) var = err; #define FATAL(x) { __out(DEBUG_APP ": "); __out x; } + #define ERROR(x) { __out(DEBUG_APP ": "); __out x; } #define INFORM(x) { __out(DEBUG_APP ": "); __out x; } #define FUNCTION(x) ; #define FUNCTION_START() ;