Fix bug in cfe_enumenv(). The CFE API to invoke is CFE_CMD_ENV_ENUM

and not CFE_CMD_ENV_SET.

Submitted by:	neel@
This commit is contained in:
imp 2010-01-11 17:16:06 +00:00
parent 9c4467c6ab
commit 5c864452df

View File

@ -160,7 +160,7 @@ cfe_enumenv(int idx, char *name, int namelen, char *val, int vallen)
{
cfe_xiocb_t xiocb;
xiocb.xiocb_fcode = CFE_CMD_ENV_SET;
xiocb.xiocb_fcode = CFE_CMD_ENV_ENUM;
xiocb.xiocb_status = 0;
xiocb.xiocb_handle = 0;
xiocb.xiocb_flags = 0;