diff options
author | Joerg Wunsch <joerg@FreeBSD.org> | 1995-11-17 23:22:34 +0000 |
---|---|---|
committer | Joerg Wunsch <joerg@FreeBSD.org> | 1995-11-17 23:22:34 +0000 |
commit | 1cc09ccecfdc29173a6897a551662643feb5b815 (patch) | |
tree | f1ddb0e510f064a2fd33552b1aa1deb4ed68f11e /usr.sbin/mountd | |
parent | df4f0253cd898825511dfd3e435415b918229cab (diff) | |
download | src-test2-1cc09ccecfdc29173a6897a551662643feb5b815.tar.gz src-test2-1cc09ccecfdc29173a6897a551662643feb5b815.zip |
Notes
Diffstat (limited to 'usr.sbin/mountd')
-rw-r--r-- | usr.sbin/mountd/mountd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c index 0887c5938dd8..f1e2e1f4dbb1 100644 --- a/usr.sbin/mountd/mountd.c +++ b/usr.sbin/mountd/mountd.c @@ -43,7 +43,7 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "From: @(#)mountd.c 8.8 (Berkeley) 2/20/94";*/ static const char rcsid[] = - "$Id: mountd.c,v 1.8 1995/06/11 19:30:46 rgrimes Exp $"; + "$Id: mountd.c,v 1.9 1995/06/27 11:06:19 dfr Exp $"; #endif /*not lint*/ #include <sys/param.h> @@ -885,7 +885,7 @@ get_exportlist() hpe = (struct hostent *)malloc(sizeof(struct hostent)); if (hpe == (struct hostent *)NULL) out_of_mem(); - hpe->h_name = "Default"; + hpe->h_name = strdup("Default"); hpe->h_addrtype = AF_INET; hpe->h_length = sizeof (u_long); hpe->h_addr_list = (char **)NULL; |