summaryrefslogtreecommitdiffstats
path: root/utils/gssd/gssd_main_loop.c
diff options
context:
space:
mode:
authorKevin Coffman <kwc@citi.umich.edu>2007-03-16 10:27:48 -0400
committerNeil Brown <neilb@suse.de>2007-03-19 09:47:37 +1100
commitf5954afaeeee07ca6ded6c4cdcbf965f02f7a670 (patch)
tree17962c71f32a421622b786faa607265c233b9a30 /utils/gssd/gssd_main_loop.c
parentfbff46da25a0a578136fd92a6b66e807b6599ca3 (diff)
downloadnfs-utils-f5954afaeeee07ca6ded6c4cdcbf965f02f7a670.tar.gz
nfs-utils-f5954afaeeee07ca6ded6c4cdcbf965f02f7a670.tar.xz
nfs-utils-f5954afaeeee07ca6ded6c4cdcbf965f02f7a670.zip
Create two separate paths for pipefs_dir and pipefs_nfsdir.
Future work needs access to the base pipefs directory rather than the nfs subdirectory. Create two separate paths called pipefs_dir and pipefs_nfsdir with the name of each. Signed-off-by: Kevin Coffman <kwc@citi.umich.edu> Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'utils/gssd/gssd_main_loop.c')
-rw-r--r--utils/gssd/gssd_main_loop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/gssd/gssd_main_loop.c b/utils/gssd/gssd_main_loop.c
index a086bb3..0559f7b 100644
--- a/utils/gssd/gssd_main_loop.c
+++ b/utils/gssd/gssd_main_loop.c
@@ -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);