summaryrefslogtreecommitdiffstats
path: root/contrib/amd
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2004-07-06 13:44:14 +0000
committermbr <mbr@FreeBSD.org>2004-07-06 13:44:14 +0000
commitbadb28509a8b4ae3de678d1cbdfb8cba88d282c1 (patch)
tree40261854dfe07677ff73777ce0724d9d73e40449 /contrib/amd
parenta77e1f23b2c8c8c3b3fb666099d5f4c638b57b2c (diff)
downloadFreeBSD-src-badb28509a8b4ae3de678d1cbdfb8cba88d282c1.zip
FreeBSD-src-badb28509a8b4ae3de678d1cbdfb8cba88d282c1.tar.gz
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>
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 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