diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-02 09:22:08 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-02 09:22:08 +0000 |
commit | 379e676a11bc9a80b78f0af0bd31e8d146b23181 (patch) | |
tree | 49d8213de3bf229a9497c7c0dc99a5b777a5723d | |
parent | be2b95568b717de2c7e97e44d7886a288f06a303 (diff) |
2008-09-02 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1301/cpukit
* sapi/src/debug.c: Let _Debug_Is_enabled return TRUE|FALSE.
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/sapi/src/debug.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 408c776ea9..808085f852 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2008-09-02 Ralf Corsépius <ralf.corsepius@rtems.org> + + PR 1301/cpukit + * sapi/src/debug.c: Let _Debug_Is_enabled return TRUE|FALSE. + 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org> * libnetworking/netinet/tcp_var.h: Fix broken declaration of 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; } |