Whamcloud - gitweb
LU-5458: libcfs: protect kkuc_groups from write access
[fs/lustre-release.git] / lustre / utils / gss / svcgssd_main_loop.c
index 3132829..bd5fea7 100644 (file)
@@ -42,6 +42,8 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <unistd.h>
+/* For nanosleep() */
+#include <time.h>
 
 #include "svcgssd.h"
 #include "err_util.h"
@@ -63,7 +65,7 @@ svcgssd_run()
        struct pollfd           pollfd;
        struct timespec         halfsec = { .tv_sec = 0, .tv_nsec = 500000000 };
 
-#define NULLRPC_FILE "/proc/net/rpc/auth.ptlrpcs.init/channel"
+#define NULLRPC_FILE "/proc/net/rpc/auth.sptlrpc.init/channel"
 
        while (1) {
                int save_err;