summaryrefslogtreecommitdiffstats
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-09-04 08:55:29 +0000
committerobrien <obrien@FreeBSD.org>1998-09-04 08:55:29 +0000
commit0b208f0c46915f484d82af1b705ac418d00028f8 (patch)
tree710fb592a79e1b7fcd19b8c605de414b9417ae63 /usr.sbin/amd
parent1fdee350847ca76ade8286520294380f7e2704c3 (diff)
downloadFreeBSD-src-0b208f0c46915f484d82af1b705ac418d00028f8.zip
FreeBSD-src-0b208f0c46915f484d82af1b705ac418d00028f8.tar.gz
Don't utilize the pre-4.4Lite2 INITMOUNTNAMES compatibility cruft.
(bde will remove it soon)
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r--usr.sbin/amd/include/config.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/usr.sbin/amd/include/config.h b/usr.sbin/amd/include/config.h
index 891ef43..c36021f 100644
--- a/usr.sbin/amd/include/config.h
+++ b/usr.sbin/amd/include/config.h
@@ -1,4 +1,4 @@
-/* $Id$ */
+/* $Id: config.h,v 1.6 1998/08/27 08:09:41 obrien Exp $ */
/* portions derived from
$NetBSD: config.h,v 1.11 1998/08/08 22:33:37 christos Exp $ */
/* config.h. Generated automatically by configure. */
@@ -155,7 +155,7 @@
*/
/* Mount(2) type/name for UFS filesystem */
-#define MOUNT_TYPE_UFS MOUNT_UFS
+#define MOUNT_TYPE_UFS "ufs"
/* Mount(2) type/name for XFS filesystem (irix) */
/* #undef MOUNT_TYPE_XFS */
@@ -164,29 +164,29 @@
/* #undef MOUNT_TYPE_EFS */
/* Mount(2) type/name for NFS filesystem */
-#define MOUNT_TYPE_NFS MOUNT_NFS
+#define MOUNT_TYPE_NFS "nfs"
/* Mount(2) type/name for NFS3 filesystem */
-#define MOUNT_TYPE_NFS3 MOUNT_NFS3
+#define MOUNT_TYPE_NFS3 "nfs"
/* Mount(2) type/name for PCFS filesystem */
/* XXX: conf/trap/trap_hpux.h may override this definition for HPUX 9.0 */
-#define MOUNT_TYPE_PCFS MOUNT_MSDOS
+#define MOUNT_TYPE_PCFS "msdos"
/* Mount(2) type/name for LOFS filesystem */
-#define MOUNT_TYPE_LOFS MOUNT_LOFS
+#define MOUNT_TYPE_LOFS "lofs"
/* Mount(2) type/name for CDFS filesystem */
-#define MOUNT_TYPE_CDFS MOUNT_CD9660
+#define MOUNT_TYPE_CDFS "cd9660"
/* Mount(2) type/name for TFS filesystem */
-#define MOUNT_TYPE_TFS MOUNT_TFS
+#define MOUNT_TYPE_TFS "tfs"
/* Mount(2) type/name for TMPFS filesystem */
/* #undef MOUNT_TYPE_TMPFS */
/* Mount(2) type/name for MFS filesystem */
-#define MOUNT_TYPE_MFS MOUNT_MFS
+#define MOUNT_TYPE_MFS "mfs"
/* Mount(2) type/name for CFS (crypto) filesystem */
/* #undef MOUNT_TYPE_CFS */
@@ -201,13 +201,13 @@
/* #undef MOUNT_TYPE_IGNORE */
/* Mount(2) type/name for NULLFS (loopback on bsd44) filesystem */
-#define MOUNT_TYPE_NULLFS MOUNT_NULL
+#define MOUNT_TYPE_NULLFS "null"
/* Mount(2) type/name for UNIONFS filesystem */
-#define MOUNT_TYPE_UNIONFS MOUNT_UNION
+#define MOUNT_TYPE_UNIONFS "union"
/* Mount(2) type/name for UMAPFS (uid/gid mapping) filesystem */
-#define MOUNT_TYPE_UMAPFS MOUNT_UMAP
+#define MOUNT_TYPE_UMAPFS "umap"
/*
@@ -1020,10 +1020,10 @@
#define AUTH_CREATE_GIDLIST_TYPE gid_t
/* The string used in printf to print the mount-type field of mount(2) */
-#define MTYPE_PRINTF_TYPE "%d"
+#define MTYPE_PRINTF_TYPE "%s"
/* Type of the mount-type field in the mount() system call */
-#define MTYPE_TYPE int
+#define MTYPE_TYPE const char *
/* Define a type for the pcfs_args structure */
#define pcfs_args_t struct msdosfs_args
OpenPOWER on IntegriCloud