socsvn commit: r305343 - soc2016/yuanxunzhang/head/sys/net

yuanxunzhang at FreeBSD.org yuanxunzhang at FreeBSD.org
Sun Jun 19 05:40:10 UTC 2016


Author: yuanxunzhang
Date: Sun Jun 19 05:40:09 2016
New Revision: 305343
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=305343

Log:
  EAPS: Kernel debug test

Modified:
  soc2016/yuanxunzhang/head/sys/net/if.c

Modified: soc2016/yuanxunzhang/head/sys/net/if.c
==============================================================================
--- soc2016/yuanxunzhang/head/sys/net/if.c	Sun Jun 19 03:45:32 2016	(r305342)
+++ soc2016/yuanxunzhang/head/sys/net/if.c	Sun Jun 19 05:40:09 2016	(r305343)
@@ -2677,6 +2677,8 @@
 	case SIOCIFCREATE2:
 		error = priv_check(td, PRIV_NET_IFCREATE);
 		if (error == 0)
+			printf("%s: Kernel debug test.\n", __func__);
+			sprintf("Kernel debug test.");
 			error = if_clone_create(ifr->ifr_name,
 			    sizeof(ifr->ifr_name),
 			    cmd == SIOCIFCREATE2 ? ifr->ifr_data : NULL);


More information about the svn-soc-all mailing list