From efe2363857e0db62d9b06ffa58ec049dcc6c6889 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Wed, 15 Sep 1993 09:35:55 +0000 Subject: [PATCH] modified includes and fixed strcmp --- src/util/recordTest.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/util/recordTest.c b/src/util/recordTest.c index bc5deead3..cb8e52333 100644 --- a/src/util/recordTest.c +++ b/src/util/recordTest.c @@ -30,6 +30,7 @@ * Modification Log: * ----------------- * .01 02-10-92 jba initial version + * .02 09-14-93 jba modified includes and fixed strcmp * Need to do: @@ -42,13 +43,12 @@ Need to do: #ifdef vxWorks #include -#include -#else -#include #endif -#include +#include +#include #include +#include #ifndef ERROR #define ERROR -1 @@ -328,7 +328,7 @@ char verify[]; } /* compare channel value with value */ - status=strcmp(value,valueChan); + status=strcmp(value,&valueChan[0][0]); if (status) { sprintf(errmsg,"strcmp failed: valueChan=%s",valueChan); return ERROR;