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

next in thread | raw e-mail | index | archive | help
Author: yuanxunzhang
Date: Fri Jun  3 05:25:52 2016
New Revision: 304466
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=304466

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:15 2016	(r304465)
+++ soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c	Fri Jun  3 05:25:52 2016	(r304466)
@@ -104,7 +104,7 @@
 	struct eaps_d *eaps_new;
 	char *domain_name = *(++argv);
 
-	warnx("Create eaps domain %s", domain_name);
+	printf("Create eaps domain %s", 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;
-	warnx("Delete eaps domain %s", *(++argv));
+	printf("Delete eaps domain %s", *(++argv));
 	exit(error);
 }
 



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