Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jun 2016 05:29:47 GMT
From:      yuanxunzhang@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r304467 - soc2016/yuanxunzhang/head/usr.sbin/eaps
Message-ID:  <201606030529.u535Tlg9097693@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606030529.u535Tlg9097693>