diff options
author | kevlo <kevlo@FreeBSD.org> | 2012-12-21 15:54:13 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2012-12-21 15:54:13 +0000 |
commit | 804c67a4867afb8b7ef41a3ade748cab870b788c (patch) | |
tree | 978bc55596b12d6142055e42519088a4901b8bba /usr.sbin/mountd | |
parent | 6547dbdbaff0d10e29457c19876b28de348a0643 (diff) | |
download | FreeBSD-src-804c67a4867afb8b7ef41a3ade748cab870b788c.zip FreeBSD-src-804c67a4867afb8b7ef41a3ade748cab870b788c.tar.gz |
Fix socket calls on error post-r243965.
Submitted by: Garrett Cooper
Diffstat (limited to 'usr.sbin/mountd')
-rw-r--r-- | usr.sbin/mountd/mountd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c index 543fc14..bc290d6 100644 --- a/usr.sbin/mountd/mountd.c +++ b/usr.sbin/mountd/mountd.c @@ -649,7 +649,7 @@ create_service(struct netconfig *nconf) */ if ((fd = __rpc_nconf2fd(nconf)) < 0) { int non_fatal = 0; - if (errno == EPROTONOSUPPORT && + if (errno == EAFNOSUPPORT && nconf->nc_semantics != NC_TPI_CLTS) non_fatal = 1; |