aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2019-09-21 00:17:40 +0000
committerHiroki Sato <hrs@FreeBSD.org>2019-09-21 00:17:40 +0000
commit740a5434e9d6d6277529b683fb8c69a23fac7fd4 (patch)
treecfeb461e344c3d022226d574376624852fb519fc /usr.bin
parent5fdac752228ebf4061ae050558c0db1147daab61 (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/quota/quota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/quota/quota.c b/usr.bin/quota/quota.c
index f4481fecece6..71e63208884f 100644
--- a/usr.bin/quota/quota.c
+++ b/usr.bin/quota/quota.c
@@ -606,7 +606,7 @@ getnfsquota(struct statfs *fst, struct quotause *qup, long id, int quotatype)
call_stat = callaurpc(host, RQUOTAPROG, EXT_RQUOTAVERS,
RQUOTAPROC_GETQUOTA, (xdrproc_t)xdr_ext_getquota_args, (char *)&gq_args,
(xdrproc_t)xdr_getquota_rslt, (char *)&gq_rslt);
- if (call_stat == RPC_PROGVERSMISMATCH) {
+ if (call_stat == RPC_PROGVERSMISMATCH || call_stat == RPC_PROGNOTREGISTERED) {
if (quotatype == USRQUOTA) {
old_gq_args.gqa_pathp = cp + 1;
old_gq_args.gqa_uid = id;