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

yuanxunzhang at FreeBSD.org yuanxunzhang at FreeBSD.org
Tue May 31 04:12:24 UTC 2016


Author: yuanxunzhang
Date: Tue May 31 04:12:21 2016
New Revision: 304216
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=304216

Log:
  Modify eaps command modules

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	Tue May 31 04:05:04 2016	(r304215)
+++ soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c	Tue May 31 04:12:21 2016	(r304216)
@@ -73,7 +73,7 @@
 	if (argc < 3)
 		usage(NULL);
 
-	if (*argv != NULL)
+	if (*(++argv) != NULL)
 		switch (keyword(*argv)) {
 		case K_CREATE:
 			createdomain(argc, argv);


More information about the svn-soc-all mailing list