summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/fs/nwfs/nwfs_mount.h4
-rw-r--r--sys/nwfs/nwfs_mount.h4
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;
OpenPOWER on IntegriCloud