diff options
author | cy <cy@FreeBSD.org> | 2016-12-23 22:42:14 +0000 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2016-12-23 22:42:14 +0000 |
commit | 70bf75ae7a6fb3eb5862c9ffe6a0b37f01cece8f (patch) | |
tree | ad789657cf126d79112c72e841748348445a1a97 /contrib/amd/conf/checkmount | |
parent | c463638654b9ffb469ad4876aa6e924ef67f622f (diff) | |
download | FreeBSD-src-70bf75ae7a6fb3eb5862c9ffe6a0b37f01cece8f.zip FreeBSD-src-70bf75ae7a6fb3eb5862c9ffe6a0b37f01cece8f.tar.gz |
MFC r308493, r308619: Update amd from am-utils 6.1.5 to 6.2.
Used extensively on my network over the past ten weeks.
Reviewed by: pfg, brooks
Suggested by: pfg
Obtained from: ftp://ftp.am-utils.org/pub/am-utils/
Relnotes: yes
Differential Revision: D8405
Diffstat (limited to 'contrib/amd/conf/checkmount')
-rw-r--r-- | contrib/amd/conf/checkmount/checkmount_bsd44.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/contrib/amd/conf/checkmount/checkmount_bsd44.c b/contrib/amd/conf/checkmount/checkmount_bsd44.c index a6ec243..6c6b21d 100644 --- a/contrib/amd/conf/checkmount/checkmount_bsd44.c +++ b/contrib/amd/conf/checkmount/checkmount_bsd44.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997-2006 Erez Zadok + * Copyright (c) 1997-2014 Erez Zadok * Copyright (c) 1990 Jan-Simon Pendry * Copyright (c) 1990 Imperial College of Science, Technology & Medicine * Copyright (c) 1990 The Regents of the University of California. @@ -16,11 +16,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgment: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -45,6 +41,9 @@ # include <config.h> #endif /* HAVE_CONFIG_H */ #include <am_defs.h> +#if __NetBSD_Version__ > 200030000 +#define statfs statvfs +#endif extern int is_same_host(char *name1, char *name2, struct in_addr addr2); int fixmount_check_mount(char *host, struct in_addr hostaddr, char *path); |