summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-27 00:20:40 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-27 00:20:40 +0000
commitbf99393f7357ac94f18994d4371188ca0bdee0d0 (patch)
tree9453be962134529e906444033dc10e34d8437d98 /c/src/exec/score
parent2001-04-26 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-bf99393f7357ac94f18994d4371188ca0bdee0d0.tar.bz2
2001-04-26 Joel Sherrill <joel@OARcorp.com>
* src/objectcomparenamestring.c: Fix typos.
Diffstat (limited to 'c/src/exec/score')
-rw-r--r--c/src/exec/score/ChangeLog4
-rw-r--r--c/src/exec/score/src/objectcomparenamestring.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/c/src/exec/score/ChangeLog b/c/src/exec/score/ChangeLog
index b24ecbf42c..e84a79a7e1 100644
--- a/c/src/exec/score/ChangeLog
+++ b/c/src/exec/score/ChangeLog
@@ -1,5 +1,9 @@
2001-04-26 Joel Sherrill <joel@OARcorp.com>
+ * src/objectcomparenamestring.c: Fix typos.
+
+2001-04-26 Joel Sherrill <joel@OARcorp.com>
+
* include/rtems/score/object.h, inline/rtems/score/object.inl,
src/objectcomparenamestring.c: Address PR81 that
reworked POSIX message queues to add a descriptor separate from
diff --git a/c/src/exec/score/src/objectcomparenamestring.c b/c/src/exec/score/src/objectcomparenamestring.c
index 045063e7cd..b743eda0da 100644
--- a/c/src/exec/score/src/objectcomparenamestring.c
+++ b/c/src/exec/score/src/objectcomparenamestring.c
@@ -24,6 +24,8 @@
#include <rtems/score/sysstate.h>
#include <rtems/score/isr.h>
+#include <string.h>
+
/*PAGE
*
* _Objects_Compare_name_string
@@ -45,7 +47,7 @@ boolean _Objects_Compare_name_string(
unsigned32 length
)
{
- if ( !strncmp( name_1_p, name_2_p, length ) )
+ if ( !strncmp( name_1, name_2, length ) )
return TRUE;
return FALSE;
}