diff options
author | Miles Bader <miles@gnu.org> | 1996-03-05 00:37:44 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-03-05 00:37:44 +0000 |
commit | a1061e8b995a370459aad1d0e7ebc45f8fc04b98 (patch) | |
tree | b88ee9376e97f54b98f8b1002e8ce3bd5f50aa14 /nfs/main.c | |
parent | 5b845f34e5dca3e87b92045c870244aaad4b875d (diff) |
Formerly main.c.~14~
Diffstat (limited to 'nfs/main.c')
-rw-r--r-- | nfs/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -30,6 +30,8 @@ #include <argp.h> #include <argz.h> +extern char *localhost (); + #define DEFAULT_SOFT_RETRIES 3 /* times */ #define DEFAULT_STAT_TIMEOUT 3 /* seconds */ #define DEFAULT_CACHE_TIMEOUT 3 /* seconds */ @@ -342,8 +344,8 @@ main (int argc, char **argv) cthread_detach (cthread_fork ((cthread_fn_t) timeout_service_thread, 0)); cthread_detach (cthread_fork ((cthread_fn_t) rpc_receive_thread, 0)); - hostname = malloc (1000); - gethostname (hostname, 1000); + hostname = localhost (); + netfs_root_node = mount_root (remote_fs, host); if (!netfs_root_node) |