summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Erik Werner <martinerikwerner.aac@gmail.com>2017-11-20 18:53:22 +0100
committerJoel Sherrill <joel@rtems.org>2017-11-21 12:40:16 -0600
commit702e82083063c6b9f66a1efad5910da8f9a5f520 (patch)
treea21b85fe2463b02a94421885b5af977616648661
parentleon, gr1553rt: adding SMP protection (diff)
downloadrtems-702e82083063c6b9f66a1efad5910da8f9a5f520.tar.bz2
Fix comments for object lookup error to RTEMS status map
Based on correlation with the enum for object lookup errors in cpukit/score/include/rtems/score/objectimpl.h: typedef enum { OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL, OBJECTS_INVALID_NAME, OBJECTS_INVALID_ADDRESS, OBJECTS_INVALID_ID, OBJECTS_INVALID_NODE } Objects_Name_or_id_lookup_errors; update the comments regarding the object lookup error to status map to match. Signed-off-by: Martin Erik Werner <martin.werner@aacmicrotec.com>
-rw-r--r--cpukit/rtems/src/status.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/rtems/src/status.c b/cpukit/rtems/src/status.c
index 810c0e18de..3eadea59f0 100644
--- a/cpukit/rtems/src/status.c
+++ b/cpukit/rtems/src/status.c
@@ -17,13 +17,13 @@
#include <errno.h>
const rtems_status_code _Status_Object_name_errors_to_status[] = {
- /** This maps OBJECTS_SUCCESSFUL to RTEMS_SUCCESSFUL. */
+ /** This maps OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL to RTEMS_SUCCESSFUL. */
RTEMS_SUCCESSFUL,
/** This maps OBJECTS_INVALID_NAME to RTEMS_INVALID_NAME. */
RTEMS_INVALID_NAME,
- /** This maps OBJECTS_INVALID_ADDRESS to RTEMS_INVALID_NAME. */
+ /** This maps OBJECTS_INVALID_ADDRESS to RTEMS_INVALID_ADDRESS. */
RTEMS_INVALID_ADDRESS,
- /** This maps OBJECTS_INVALID_ID to RTEMS_INVALID_ADDRESS. */
+ /** This maps OBJECTS_INVALID_ID to RTEMS_INVALID_ID. */
RTEMS_INVALID_ID,
/** This maps OBJECTS_INVALID_NODE to RTEMS_INVALID_NODE. */
RTEMS_INVALID_NODE