1. Remove a rather strangely gratuitous bit of profanity
[unix-history] / sys / nfs / nfsdiskless.h
index b1cd3b5..ababb2d 100644 (file)
@@ -34,7 +34,7 @@
  * SUCH DAMAGE.
  *
  *     From:   @(#)nfsdiskless.h       7.1 (Berkeley) 3/4/91
  * SUCH DAMAGE.
  *
  *     From:   @(#)nfsdiskless.h       7.1 (Berkeley) 3/4/91
- *     $Id$
+ *     $Id: nfsdiskless.h,v 1.2 1993/09/09 22:06:18 rgrimes Exp $
  */
 
 #ifndef __h_nfsdiskless
  */
 
 #ifndef __h_nfsdiskless
  * For now it is statically initialized in swapvmunix.c, but someday a primary
  * bootstrap should fill it in.
  */
  * For now it is statically initialized in swapvmunix.c, but someday a primary
  * bootstrap should fill it in.
  */
+#define NFSMNAMELEN    64
 struct nfs_diskless {
        struct ifaliasreq myif;         /* Info. for partial ifconfig */
        struct sockaddr mygateway;      /* Default gateway for "route add" */
        struct nfs_args swap_args;      /* Mount args for swap file */
        u_char          swap_fh[NFS_FHSIZE]; /* Swap file's file handle */
        struct sockaddr swap_saddr;     /* Address of swap server */
 struct nfs_diskless {
        struct ifaliasreq myif;         /* Info. for partial ifconfig */
        struct sockaddr mygateway;      /* Default gateway for "route add" */
        struct nfs_args swap_args;      /* Mount args for swap file */
        u_char          swap_fh[NFS_FHSIZE]; /* Swap file's file handle */
        struct sockaddr swap_saddr;     /* Address of swap server */
-       char            *swap_hostnam;  /* Host name for mount pt */
+       char            swap_hostnam[NFSMNAMELEN]; /* Host name for mount pt */
        struct nfs_args root_args;      /* Mount args for root fs */
        u_char          root_fh[NFS_FHSIZE]; /* File handle of root dir */
        struct sockaddr root_saddr;     /* Address of root server */
        struct nfs_args root_args;      /* Mount args for root fs */
        u_char          root_fh[NFS_FHSIZE]; /* File handle of root dir */
        struct sockaddr root_saddr;     /* Address of root server */
-       char            *root_hostnam;  /* Host name for mount pt */
+       char            root_hostnam[NFSMNAMELEN]; /* Host name for mount pt */
 };
 
 #endif /* __h_nfsdiskless */
 };
 
 #endif /* __h_nfsdiskless */