socsvn commit: r305169 - soc2016/yuanxunzhang/head/usr.sbin/eaps

yuanxunzhang at FreeBSD.org yuanxunzhang at FreeBSD.org
Mon Jun 13 23:24:41 UTC 2016


Author: yuanxunzhang
Date: Mon Jun 13 23:24:40 2016
New Revision: 305169
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=305169

Log:
  EAPS: load the eaps module, when user create eaps instance

Modified:
  soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c

Modified: soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c
==============================================================================
--- soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c	Mon Jun 13 23:20:55 2016	(r305168)
+++ soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c	Mon Jun 13 23:24:40 2016	(r305169)
@@ -101,9 +101,10 @@
 load_module(const char *module_name)
 {
 	struct module_stat mstat;
-
+	int fileid, modid;
+	const char *cp;
+	
 	mstat.version = sizeof(struct module_stat);
-
 	for (fileid = kldnext(0); fileid > 0; fileid = kldnext(fileid)) {
 		/* scan modules in file */
 		for (modid = kldfirstmod(fileid); modid > 0;


More information about the svn-soc-all mailing list