From badb28509a8b4ae3de678d1cbdfb8cba88d282c1 Mon Sep 17 00:00:00 2001 From: mbr Date: Tue, 6 Jul 2004 13:44:14 +0000 Subject: 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 --- contrib/amd/amd/ops_pcfs.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'contrib') 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 */ -- cgit v1.1