diff options
author | imp <imp@FreeBSD.org> | 2010-01-11 17:16:06 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2010-01-11 17:16:06 +0000 |
commit | 5c864452df93e6038d315532b871bbbcd0128a24 (patch) | |
tree | b17e94b389b8e0db142b48925e6efd0296bc4264 /sys/dev/cfe | |
parent | 9c4467c6ab721d0681e7f3bc4dcde559c73c4ba0 (diff) | |
download | FreeBSD-src-5c864452df93e6038d315532b871bbbcd0128a24.zip FreeBSD-src-5c864452df93e6038d315532b871bbbcd0128a24.tar.gz |
Fix bug in cfe_enumenv(). The CFE API to invoke is CFE_CMD_ENV_ENUM
and not CFE_CMD_ENV_SET.
Submitted by: neel@
Diffstat (limited to 'sys/dev/cfe')
-rw-r--r-- | sys/dev/cfe/cfe_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cfe/cfe_api.c b/sys/dev/cfe/cfe_api.c index 15f6ae7..bf3fa66 100644 --- a/sys/dev/cfe/cfe_api.c +++ b/sys/dev/cfe/cfe_api.c @@ -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; |