summaryrefslogtreecommitdiff
path: root/nfsd/main.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1996-08-12 18:31:04 +0000
committerThomas Bushnell <thomas@gnu.org>1996-08-12 18:31:04 +0000
commit9474c6318ad2effa3e80246d1012cb111e726bf0 (patch)
treeb1f5dbfbd38913dcc4ebf721f81443472937dec0 /nfsd/main.c
parent4b4fc640461f0f6e152204deda38a4e9272fe9e1 (diff)
*** empty log message ***
Diffstat (limited to 'nfsd/main.c')
-rw-r--r--nfsd/main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/nfsd/main.c b/nfsd/main.c
index b4b8464a..d4d040c6 100644
--- a/nfsd/main.c
+++ b/nfsd/main.c
@@ -27,8 +27,7 @@
int main_udp_socket, pmap_udp_socket;
struct sockaddr_in main_address, pmap_address;
-#define INDEX_FILE_NAME(dir) # dir "/state/misc/nfsd.index"
-static char index_file[] = INDEX_FILE_NAME (LOCALSTATEDIR);
+static char index_file[] = LOCALSTATEDIR "/state/misc/nfsd.index";
char *index_file_name = index_file;
int
@@ -79,11 +78,11 @@ main (int argc, char **argv)
init_filesystems ();
cthread_detach (cthread_fork ((cthread_fn_t) server_loop,
- pmap_udp_socket));
+ (any_t) pmap_udp_socket));
while (nthreads--)
cthread_detach (cthread_fork ((cthread_fn_t) server_loop,
- main_udp_socket));
+ (any_t) main_udp_socket));
for (;;)
{