Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2019 22:03:37 +0000 (UTC)
From:      Conrad Meyer <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r353742 - in head/sys: conf net
Message-ID:  <201910182203.x9IM3bYD035764@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 | netgr
 netinet/libalias/alias_proxy.c	optional libalias inet | netgraph_nat inet
 netinet/libalias/alias_util.c	optional libalias inet | netgraph_nat inet
 netinet/libalias/alias_sctp.c	optional libalias inet | netgraph_nat inet
-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;



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