diff options
author | alfred <alfred@FreeBSD.org> | 2001-03-25 19:59:07 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2001-03-25 19:59:07 +0000 |
commit | 2009fd4382a919bf28f461c803fbd51c50c9d097 (patch) | |
tree | cc7217e675cd3f532cf5fc08cc10afc046c00b70 /usr.sbin | |
parent | 57d69411fce6e28baee6f833c31098e8b9f6b550 (diff) | |
download | FreeBSD-src-2009fd4382a919bf28f461c803fbd51c50c9d097.zip FreeBSD-src-2009fd4382a919bf28f461c803fbd51c50c9d097.tar.gz |
Replace pmap_unset() with rpcb_unset() which fixes the unregistering.
Submitted by: Martin Blapp <mb@imp.ch>
Diffstat (limited to 'usr.sbin')
-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); } |