diff options
Diffstat (limited to 'usr.sbin/mountd')
-rw-r--r-- | usr.sbin/mountd/mountd.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |