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:
parent
9c4467c6ab
commit
5c864452df
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user