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; }