summary refs log tree commit diff
path: root/misc/fstab.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/fstab.h')
-rw-r--r--misc/fstab.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/misc/fstab.h b/misc/fstab.h
index d2e27d9711..274f23aae9 100644
--- a/misc/fstab.h
+++ b/misc/fstab.h
@@ -58,15 +58,16 @@
 #define	FSTAB_SW	"sw"		/* swap device */
 #define	FSTAB_XX	"xx"		/* ignore totally */
 
-struct fstab {
-	char	*fs_spec;		/* block special device name */
-	char	*fs_file;		/* file system path prefix */
-	char	*fs_vfstype;		/* File system type, ufs, nfs */
-	char	*fs_mntops;		/* Mount options ala -o */
-	char	*fs_type;		/* FSTAB_* from fs_mntops */
-	int	fs_freq;		/* dump frequency, in days */
-	int	fs_passno;		/* pass number on parallel dump */
-};
+struct fstab
+  {
+    char *fs_spec;			/* block special device name */
+    char *fs_file;			/* file system path prefix */
+    char *fs_vfstype;			/* File system type, ufs, nfs */
+    char *fs_mntops;			/* Mount options ala -o */
+    const char *fs_type;		/* FSTAB_* from fs_mntops */
+    int	fs_freq;			/* dump frequency, in days */
+    int	fs_passno;			/* pass number on parallel dump */
+  };
 
 
 __BEGIN_DECLS