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:
Warner Losh 2010-01-11 17:16:06 +00:00
parent 0287b24426
commit 3274f529db
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=202091

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;