summaryrefslogtreecommitdiffstats
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2007-12-05 16:50:48 +0000
committerobrien <obrien@FreeBSD.org>2007-12-05 16:50:48 +0000
commitff1cc4a8f475033c01a5ee9a92bbd8a3429c36ff (patch)
treeaf839327926d8492ecd20c0a5b5aaf5f42e75c34 /usr.sbin/amd
parent22b46d366c5df0cc455c772b22dfb961b1ed962a (diff)
downloadFreeBSD-src-ff1cc4a8f475033c01a5ee9a92bbd8a3429c36ff.zip
FreeBSD-src-ff1cc4a8f475033c01a5ee9a92bbd8a3429c36ff.tar.gz
Teach Amd how to unmount.
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r--usr.sbin/amd/include/aux_conf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/amd/include/aux_conf.h b/usr.sbin/amd/include/aux_conf.h
index 11e0b15..1529ba3 100644
--- a/usr.sbin/amd/include/aux_conf.h
+++ b/usr.sbin/amd/include/aux_conf.h
@@ -29,6 +29,8 @@
*/
#define UNMOUNT_TRAP(mnt) unmount(mnt->mnt_dir)
/* End of replaced UNMOUNT_TRAP macro definition */
+/* umount(8) executable path, for type:=program */
+#define UNMOUNT_PROGRAM "/sbin/umount"
/*
* The next line is a literal inclusion of a file which includes a
@@ -53,6 +55,7 @@
(dst)->addr = (struct sockaddr *) (src); \
(dst)->addrlen = sizeof(*src); \
}
+#define NFS_ARGS_T_ADDR_IS_POINTER 1
/* End of included NFS_SA_DREF macro definition file */
/*
OpenPOWER on IntegriCloud