svn commit: r258675 - head/sys/net

Andriy Gapon avg at FreeBSD.org
Wed Nov 27 07:30:32 UTC 2013


on 27/11/2013 09:21 Gleb Smirnoff said the following:
> Author: glebius
> Date: Wed Nov 27 07:21:25 2013
> New Revision: 258675
> URL: http://svnweb.freebsd.org/changeset/base/258675
> 
> Log:
>   Fix build.
> 
> Modified:
>   head/sys/net/vnet.c
> 
> Modified: head/sys/net/vnet.c
> ==============================================================================
> --- head/sys/net/vnet.c	Wed Nov 27 06:54:29 2013	(r258674)
> +++ head/sys/net/vnet.c	Wed Nov 27 07:21:25 2013	(r258675)
> @@ -216,7 +216,7 @@ SDT_PROBE_DEFINE2(vnet, functions, vnet_
>      "int", "struct vnet *");
>  SDT_PROBE_DEFINE2(vnet, functions, vnet_destroy, entry,
>      "int", "struct vnet *");
> -SDT_PROBE_DEFINE1(vnet, functions, vnet_destroy, entry,
> +SDT_PROBE_DEFINE1(vnet, functions, vnet_destroy, return,
>      "int");
>  
>  #ifdef DDB
> 

Thank you for fixing this!
And sorry that I did not notice the mistake in the code before the change.  The
probe was defined as "vnet, functions, vnet_destroy, return, entry, ..." and my
sed script blindly changed "return, entry" to "entry".
Another confirmation that "sname" was silly and that I need to do more
pre-commit testing.

-- 
Andriy Gapon


More information about the svn-src-all mailing list