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

yuanxunzhang at FreeBSD.org yuanxunzhang at FreeBSD.org
Fri Jun 3 05:29:48 UTC 2016


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

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:25:52 2016	(r304466)
+++ soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c	Fri Jun  3 05:29:46 2016	(r304467)
@@ -59,7 +59,7 @@
 	SLIST_ENTRY(eaps_d)	eaps_entries;
 };
 
-static SLIST_HEAD(, eaps_d) head = SLIST_HEAD_INITIALIZER(head);
+static SLIST_HEAD(slisthead, eaps_d) head = SLIST_HEAD_INITIALIZER(head);
 
 static struct keytab {
 	const char	*kt_cp;
@@ -104,7 +104,7 @@
 	struct eaps_d *eaps_new;
 	char *domain_name = *(++argv);
 
-	printf("Create eaps domain %s", domain_name);
+	printf("Create eaps domain %s!\n", domain_name);
 	eaps_new = (struct eaps_d *) malloc (sizeof(struct eaps_d));
 	strlcpy(eaps_new->eaps_name, domain_name, sizeof(eaps_new->eaps_name));
 
@@ -118,7 +118,7 @@
 deletedomain(int argc, char **argv)
 {
 	int error = 0;
-	printf("Delete eaps domain %s", *(++argv));
+	printf("Delete eaps domain %s!\n", *(++argv));
 	exit(error);
 }
 


More information about the svn-soc-all mailing list