]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/gssd/gssd_main_loop.c
Create two separate paths for pipefs_dir and pipefs_nfsdir.
[nfs-utils.git] / utils / gssd / gssd_main_loop.c
index a086bb398ca1d2ecc6d866ca9d91456c1e7383e9..0559f7b7c7b9478dd223f2e76eb71818265eb332 100644 (file)
@@ -106,9 +106,9 @@ gssd_run()
        dn_act.sa_flags = SA_SIGINFO;
        sigaction(DNOTIFY_SIGNAL, &dn_act, NULL);
 
-       if ((fd = open(pipefsdir, O_RDONLY)) == -1) {
+       if ((fd = open(pipefs_nfsdir, O_RDONLY)) == -1) {
                printerr(0, "ERROR: failed to open %s: %s\n",
-                        pipefsdir, strerror(errno));
+                        pipefs_nfsdir, strerror(errno));
                exit(1);
        }
        fcntl(fd, F_SETSIG, DNOTIFY_SIGNAL);