diff options
-rw-r--r-- | sbin/mountd/mountd.c | 4 | ||||
-rw-r--r-- | usr.sbin/mountd/mountd.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sbin/mountd/mountd.c b/sbin/mountd/mountd.c index 9c5dc97..16d2ece 100644 --- a/sbin/mountd/mountd.c +++ b/sbin/mountd/mountd.c @@ -2506,7 +2506,7 @@ int sig; { close(mountdlockfd); unlink(MOUNTDLOCK); - pmap_unset(RPCPROG_MNT, 1); - pmap_unset(RPCPROG_MNT, 3); + rpcb_unset(RPCPROG_MNT, RPCMNT_VER1, NULL); + rpcb_unset(RPCPROG_MNT, RPCMNT_VER3, NULL); exit (0); } diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c index 9c5dc97..16d2ece 100644 --- a/usr.sbin/mountd/mountd.c +++ b/usr.sbin/mountd/mountd.c @@ -2506,7 +2506,7 @@ int sig; { close(mountdlockfd); unlink(MOUNTDLOCK); - pmap_unset(RPCPROG_MNT, 1); - pmap_unset(RPCPROG_MNT, 3); + rpcb_unset(RPCPROG_MNT, RPCMNT_VER1, NULL); + rpcb_unset(RPCPROG_MNT, RPCMNT_VER3, NULL); exit (0); } |