From 40a263bd52489f340c28c190ecd71c2b54e89198 Mon Sep 17 00:00:00 2001 From: bp Date: Thu, 14 Oct 1999 08:57:54 +0000 Subject: Isolate old constant NCP_VOLNAME_LEN. --- sys/fs/nwfs/nwfs_mount.h | 4 +++- sys/nwfs/nwfs_mount.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/fs/nwfs/nwfs_mount.h b/sys/fs/nwfs/nwfs_mount.h index 56a3241..45cce7d 100644 --- a/sys/fs/nwfs/nwfs_mount.h +++ b/sys/fs/nwfs/nwfs_mount.h @@ -52,13 +52,15 @@ #define NWFS_MOUNT_GET_SYSENT 0x0040 /* special case, look to vfsops :) */ #define NWFS_MOUNT_HAVE_NLS 0x0080 +#define NWFS_VOLNAME_LEN 48 + /* Layout of the mount control block for a netware file system. */ struct nwfs_args { int connRef; /* connection reference */ char mount_point[MAXPATHLEN]; u_int flags; - u_char mounted_vol[NCP_VOLNAME_LEN + 1]; + u_char mounted_vol[NWFS_VOLNAME_LEN + 1]; u_char root_path[512+1]; int version; uid_t uid; diff --git a/sys/nwfs/nwfs_mount.h b/sys/nwfs/nwfs_mount.h index 56a3241..45cce7d 100644 --- a/sys/nwfs/nwfs_mount.h +++ b/sys/nwfs/nwfs_mount.h @@ -52,13 +52,15 @@ #define NWFS_MOUNT_GET_SYSENT 0x0040 /* special case, look to vfsops :) */ #define NWFS_MOUNT_HAVE_NLS 0x0080 +#define NWFS_VOLNAME_LEN 48 + /* Layout of the mount control block for a netware file system. */ struct nwfs_args { int connRef; /* connection reference */ char mount_point[MAXPATHLEN]; u_int flags; - u_char mounted_vol[NCP_VOLNAME_LEN + 1]; + u_char mounted_vol[NWFS_VOLNAME_LEN + 1]; u_char root_path[512+1]; int version; uid_t uid; -- cgit v1.1