- static char hostdir[1024], new_opts[1024], ip_addr[255];
- char *hostname, *dirname, *s, *old_opts;
- struct sockaddr_in addr;
-
- if (strlen(spec) >= sizeof(hostdir)) {
- nfs_error(_("%s: excessively long host:dir argument\n"),
- progname);
- return 0;
- }
- strcpy(hostdir, spec);
- if (parse_devname(hostdir, &hostname, &dirname)) {
- nfs_error(_("%s: parsing host:dir argument failed\n"),
- progname);
- return 0;
- }