svn commit: r361584 - head/sys/fs/nfsclient
Alexander V. Chernikov
melifaro at FreeBSD.org
Thu May 28 09:52:29 UTC 2020
Author: melifaro
Date: Thu May 28 09:52:28 2020
New Revision: 361584
URL: https://svnweb.freebsd.org/changeset/base/361584
Log:
Fix NOINET6 build broken by r361575.
Reported by: ci, hps
Modified:
head/sys/fs/nfsclient/nfs_clport.c
Modified: head/sys/fs/nfsclient/nfs_clport.c
==============================================================================
--- head/sys/fs/nfsclient/nfs_clport.c Thu May 28 09:13:20 2020 (r361583)
+++ head/sys/fs/nfsclient/nfs_clport.c Thu May 28 09:52:28 2020 (r361584)
@@ -971,7 +971,7 @@ u_int8_t *
nfscl_getmyip(struct nfsmount *nmp, struct in6_addr *paddr, int *isinet6p)
{
#if defined(INET6) || defined(INET)
- int error, fibnum;
+ int fibnum;
fibnum = curthread->td_proc->p_fibnum;
#endif
@@ -1007,6 +1007,7 @@ nfscl_getmyip(struct nfsmount *nmp, struct in6_addr *p
#ifdef INET6
if (nmp->nm_nam->sa_family == AF_INET6) {
struct sockaddr_in6 *sin6;
+ int error;
sin6 = (struct sockaddr_in6 *)nmp->nm_nam;
More information about the svn-src-head
mailing list