svn commit: r202091 - head/sys/dev/cfe

Warner Losh imp at FreeBSD.org
Mon Jan 11 17:16:06 UTC 2010


Author: imp
Date: Mon Jan 11 17:16:06 2010
New Revision: 202091
URL: http://svn.freebsd.org/changeset/base/202091

Log:
  Fix bug in cfe_enumenv(). The CFE API to invoke is CFE_CMD_ENV_ENUM
  and not CFE_CMD_ENV_SET.
  
  Submitted by:	neel@

Modified:
  head/sys/dev/cfe/cfe_api.c

Modified: head/sys/dev/cfe/cfe_api.c
==============================================================================
--- head/sys/dev/cfe/cfe_api.c	Mon Jan 11 17:14:46 2010	(r202090)
+++ head/sys/dev/cfe/cfe_api.c	Mon Jan 11 17:16:06 2010	(r202091)
@@ -160,7 +160,7 @@ cfe_enumenv(int idx, char *name, int nam
 {
     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;


More information about the svn-src-head mailing list