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

yuanxunzhang at FreeBSD.org yuanxunzhang at FreeBSD.org
Fri Jun 3 05:07:08 UTC 2016


Author: yuanxunzhang
Date: Fri Jun  3 05:07:07 2016
New Revision: 304460
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=304460

Log:
  freeBSD:EAPS development

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	Fri Jun  3 05:02:40 2016	(r304459)
+++ soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c	Fri Jun  3 05:07:07 2016	(r304460)
@@ -72,6 +72,7 @@
 int	keyword(const char *);
 static void	createdomain(int, char **);
 static void deletedomain(int, char **);
+static void displayeaps(int, char **);
 static void usage(const char *);
 
 int
@@ -126,10 +127,9 @@
 {
 	int error = 0;
 	struct eaps_d *eaps,
-	warnx("Display eaps domain");
 
 	if (SLIST_EMPTY(&eaps_head)) {
-		warnx("No eaps Configuration!");
+		warn("No eaps Configuration!");
 	}
 	/* Display EAPS information*/
 	SLIST_FOREACH(eaps, &eaps_head, eaps_entries) {


More information about the svn-soc-all mailing list