Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2016 10:24:19 GMT
From:      yuanxunzhang@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r308164 - soc2016/yuanxunzhang/head/usr.sbin/eaps
Message-ID:  <201608221024.u7MAOJk4018101@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuanxunzhang
Date: Mon Aug 22 10:24:19 2016
New Revision: 308164
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=308164

Log:
  EAPS: fix bug

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	Mon Aug 22 10:22:03 2016	(r308163)
+++ soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c	Mon Aug 22 10:24:19 2016	(r308164)
@@ -352,7 +352,7 @@
 		err(1, "EAPS domain name is NULL!");
 	} 
 
-	uint16_t failtime = atio(*(++argv));
+	uint16_t failtime = atoi(*(++argv));
 	printf("Debug print: set_eaps_failtime %d!\n", failtime);
 
 	// get current value of hellotime, because failtime must be greater than hellotime



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