summaryrefslogtreecommitdiffstats
path: root/src/usr/spd/spd.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/spd/spd.C')
-rwxr-xr-xsrc/usr/spd/spd.C6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/usr/spd/spd.C b/src/usr/spd/spd.C
index a421a14b9..3a4147025 100755
--- a/src/usr/spd/spd.C
+++ b/src/usr/spd/spd.C
@@ -30,9 +30,6 @@
// ----------------------------------------------
// Includes
// ----------------------------------------------
-//#include <string.h>
-//#include <sys/time.h>
-
#include <trace/interface.H>
#include <errl/errlentry.H>
#include <errl/errlmanager.H>
@@ -359,7 +356,8 @@ errlHndl_t spdGetValue ( uint64_t i_keyword,
tmpKwdData,
compareEntries );
- if( entry == &kwdData[arraySize] )
+ if( ( entry == &kwdData[arraySize] ) ||
+ ( i_keyword != entry->keyword ) )
{
TRACFCOMP( g_trac_spd,
ERR_MRK"No matching keyword entry found!" );
OpenPOWER on IntegriCloud