X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=utils%2Fstatd%2Fstatd.c;h=6c5dbde419ed6d932b569d740669efecc10467c0;hb=03534540a25fe4c0679928a2f3f023e596c78dc4;hp=22d5deb51ecfb38afbb9650a3ae0149e0726998a;hpb=4e5f91d9b9607f2c29ef42a131460f0b29f96974;p=nfs-utils.git 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);