From 3274f529db99cc22c9fd4e788132644fce3960ea Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 11 Jan 2010 17:16:06 +0000 Subject: [PATCH] Fix bug in cfe_enumenv(). The CFE API to invoke is CFE_CMD_ENV_ENUM and not CFE_CMD_ENV_SET. Submitted by: neel@ --- sys/dev/cfe/cfe_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/cfe/cfe_api.c b/sys/dev/cfe/cfe_api.c index 15f6ae7ab2c6..bf3fa66e895e 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;