summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/statd/statd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/statd/statd.c b/utils/statd/statd.c
index 22d5deb..6c5dbde 100644
--- a/utils/statd/statd.c
+++ b/utils/statd/statd.c
@@ -476,6 +476,8 @@ int main (int argc, char **argv)
waitpid(pid, NULL, 0);
}
+ /* Make sure we have a privilege port for calling into the kernel */
+ statd_get_socket();
for (;;) {
pmap_unset (SM_PROG, SM_VERS);