From: Christos Zoulas Date: Wed, 17 Sep 2008 20:25:58 +0000 (+0000) Subject: add missing field for NetBSD X-Git-Url: https://git.fsl.cs.stonybrook.edu/?a=commitdiff_plain;h=62f6a89cf54c1d1a7861a03e8a11b17e99d90688;p=am-utils-6.0.git add missing field for NetBSD --- diff --git a/amd/ops_efs.c b/amd/ops_efs.c index e748afb..259233e 100644 --- a/amd/ops_efs.c +++ b/amd/ops_efs.c @@ -137,6 +137,9 @@ mount_efs(char *mntdir, char *fs_name, char *opts, int on_autofs) #ifdef HAVE_EFS_ARGS_T_FSPEC efs_args.fspec = fs_name; #endif /* HAVE_EFS_ARGS_T_FSPEC */ +#if defined(HAVE_EFS_ARGS_T_VERSION) && defined(EFS_MNT_VERSION) + efs_args.version = EFS_MNT_VERSION; +#endif /* HAVE_EFS_ARGS_T_VERSION && EFS_MNT_VERSION */ /* * Call generic mount routine