aboutsummaryrefslogtreecommitdiff
path: root/contrib/amd
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2004-07-06 13:44:14 +0000
committerMartin Blapp <mbr@FreeBSD.org>2004-07-06 13:44:14 +0000
commitcef924194577436f64ae1f6f6cf35e2eedd0f852 (patch)
tree40261854dfe07677ff73777ce0724d9d73e40449 /contrib/amd
parent3e0fc2ab4a80d96faeeb90d722b4ce71f32eb67b (diff)
downloadsrc-cef924194577436f64ae1f6f6cf35e2eedd0f852.tar.gz
src-cef924194577436f64ae1f6f6cf35e2eedd0f852.zip
Check if `dirmask' is a member of `pcfs_args_t'.
A diff to the autoconf aux-files has been submitted to the amd people. PR: 57401 Submitted by: Andre Albsmeier <andre.albsmeier@siemens.com>
Notes
Notes: svn path=/head/; revision=131709
Diffstat (limited to 'contrib/amd')
-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 f148e6d5e511..5552c4302cd1 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 */