From 5c753ea66cb149009dca571f9669da78372f9230 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 2 Sep 2008 09:21:35 +0000 Subject: [PATCH] =?UTF-8?q?2008-09-02=20=20=20=20=20=20Ralf=20Cors=C3=A9pi?= =?UTF-8?q?us=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR 1301/cpukit * sapi/src/debug.c: Let _Debug_Is_enabled return TRUE|FALSE. --- cpukit/ChangeLog | 5 +++++ cpukit/sapi/src/debug.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 5ba46311fa..b077010100 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2008-09-02 Ralf Corsépius + + PR 1301/cpukit + * sapi/src/debug.c: Let _Debug_Is_enabled return TRUE|FALSE. + 2008-09-01 Ralf Corsépius * libcsupport/include/timerdrv.h, diff --git a/cpukit/sapi/src/debug.c b/cpukit/sapi/src/debug.c index 905280ef2c..6cd6dba801 100644 --- a/cpukit/sapi/src/debug.c +++ b/cpukit/sapi/src/debug.c @@ -61,5 +61,5 @@ boolean _Debug_Is_enabled( rtems_debug_control level ) { - return (_Debug_Level & level); + return (_Debug_Level & level) ? TRUE : FALSE; }