summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/amd/amd/ops_pcfs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/amd/amd/ops_pcfs.c b/contrib/amd/amd/ops_pcfs.c
index f148e6d..5552c43 100644
--- a/contrib/amd/amd/ops_pcfs.c
+++ b/contrib/amd/amd/ops_pcfs.c
@@ -39,6 +39,7 @@
* %W% (Berkeley) %G%
*
* $Id: ops_pcfs.c,v 1.3.2.5 2004/01/06 03:15:16 ezk Exp $
+ * $FreeBSD$
*
*/
@@ -134,6 +135,10 @@ mount_pcfs(char *dir, char *fs_name, char *opts)
pcfs_args.mask = 0777; /* this may be the msdos file modes */
#endif /* HAVE_PCFS_ARGS_T_MASK */
+#ifdef HAVE_PCFS_ARGS_T_DIRMASK
+ pcfs_args.dirmask = 0777; /* this may be the msdos dir modes */
+#endif /* HAVE_PCFS_ARGS_T_DIRMASK */
+
#ifdef HAVE_PCFS_ARGS_T_UID
pcfs_args.uid = 0; /* root */
#endif /* HAVE_PCFS_ARGS_T_UID */
OpenPOWER on IntegriCloud