mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 22:48:23 +00:00
2001-04-26 Joel Sherrill <joel@OARcorp.com>
* src/objectcomparenamestring.c: Fix typos.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
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,
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user