svn commit: r353742 - in head/sys: conf net

Cy Schubert Cy.Schubert at cschubert.com
Fri Oct 18 22:18:48 UTC 2019


In message <201910182203.x9IM3bYD035764 at repo.freebsd.org>, Conrad Meyer 
writes:
> Author: cem
> Date: Fri Oct 18 22:03:36 2019
> New Revision: 353742
> URL: https://svnweb.freebsd.org/changeset/base/353742
>
> Log:
>   Fix debugnet(4) link/build fallout on some configurations
>   
>   Introduced in r353685 (sys/conf/files), r353694 (debugnet.c db_printf).
>   
>   Submitted by:	kevans
>   Reported by:	cy
>   X-MFC-With:	r353685, r353694
>
> Modified:
>   head/sys/conf/files
>   head/sys/net/debugnet.c
>
> Modified: head/sys/conf/files
> =============================================================================
> =
> --- head/sys/conf/files	Fri Oct 18 21:53:27 2019	(r353741)
> +++ head/sys/conf/files	Fri Oct 18 22:03:36 2019	(r353742)
> @@ -4298,7 +4298,7 @@ netinet/libalias/alias_mod.c	optional libalias | net
> gr
>  netinet/libalias/alias_proxy.c	optional libalias inet | netgraph_nat i
> net
>  netinet/libalias/alias_util.c	optional libalias inet | netgraph_nat i
> net
>  netinet/libalias/alias_sctp.c	optional libalias inet | netgraph_nat i
> net
> -netinet/netdump/netdump_client.c optional inet netdump
> +netinet/netdump/netdump_client.c optional inet debugnet netdump
>  netinet6/dest6.c		optional inet6
>  netinet6/frag6.c		optional inet6
>  netinet6/icmp6.c		optional inet6
>
> Modified: head/sys/net/debugnet.c
> =============================================================================
> =
> --- head/sys/net/debugnet.c	Fri Oct 18 21:53:27 2019	(r353741)
> +++ head/sys/net/debugnet.c	Fri Oct 18 22:03:36 2019	(r353742)
> @@ -659,7 +659,7 @@ debugnet_connect(const struct debugnet_conn_params *dc
>  		CURVNET_RESTORE();
>  
>  		if (dest_rt == NULL) {
> -			db_printf("%s: Could not get route for that server.\n",
> +			printf("%s: Could not get route for that server.\n",
>  			    __func__);
>  			error = ENOENT;
>  			goto cleanup;
>


Thank you.


-- 
Cheers,
Cy Schubert <Cy.Schubert at cschubert.com>
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.




More information about the svn-src-head mailing list