mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 09:02:44 +00:00
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
0287b24426
commit
3274f529db
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=202091
@ -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