summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpcbind
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2001-07-14 16:32:44 +0000
committeriedowse <iedowse@FreeBSD.org>2001-07-14 16:32:44 +0000
commit32905cfb8d193ea3c0a6a22f7f0ca2a778ef4aa4 (patch)
tree98dd93273f057aee158ce671499b45f8c33e7a01 /usr.sbin/rpcbind
parent712c05e310927fd514175a0b288067fa29c25f68 (diff)
downloadFreeBSD-src-32905cfb8d193ea3c0a6a22f7f0ca2a778ef4aa4.zip
FreeBSD-src-32905cfb8d193ea3c0a6a22f7f0ca2a778ef4aa4.tar.gz
Avoid a harmless compiler warning, and add a missing \n to a
debugging fprintf. Submitted by: Martin Blapp <mb@imp.ch>
Diffstat (limited to 'usr.sbin/rpcbind')
-rw-r--r--usr.sbin/rpcbind/rpcb_svc_4.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/rpcbind/rpcb_svc_4.c b/usr.sbin/rpcbind/rpcb_svc_4.c
index 5f14474..f1bae52 100644
--- a/usr.sbin/rpcbind/rpcb_svc_4.c
+++ b/usr.sbin/rpcbind/rpcb_svc_4.c
@@ -334,6 +334,7 @@ rpcbproc_getaddrlist_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp,
char *saddr, *maddr = NULL;
free_rpcb_entry_list(&rlist);
+ tail = NULL;
prog = regp->r_prog;
vers = regp->r_vers;
reg_nconf = rpcbind_get_conf(transp->xp_netid);
@@ -362,7 +363,8 @@ rpcbproc_getaddrlist_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp,
}
#ifdef RPCBIND_DEBUG
if (debugging)
- fprintf(stderr, "\tmerge with: %s", rbl->rpcb_map.r_addr);
+ fprintf(stderr, "\tmerge with: %s\n",
+ rbl->rpcb_map.r_addr);
#endif
if ((maddr = mergeaddr(transp, rbl->rpcb_map.r_netid,
rbl->rpcb_map.r_addr, saddr)) == NULL) {
OpenPOWER on IntegriCloud