summaryrefslogtreecommitdiff
path: root/usr.bin/tcfs/tcfsflag.c
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-06-20 07:58:58 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-06-20 07:58:58 +0000
commit776a1f06ae8b7106a529b3cbf5c4b3c5e70dfcb9 (patch)
treeb73ea229545e20b76e0f41e174a053098909a408 /usr.bin/tcfs/tcfsflag.c
parentc3c99f121a3abe960ffe947542b04d7d0f22f28e (diff)
add openbsd tags. rearrange headers as per style(9) and indent.
replace some strcpy by strlcpy.
Diffstat (limited to 'usr.bin/tcfs/tcfsflag.c')
-rw-r--r--usr.bin/tcfs/tcfsflag.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/usr.bin/tcfs/tcfsflag.c b/usr.bin/tcfs/tcfsflag.c
index 92779d5cbe4..321204382f2 100644
--- a/usr.bin/tcfs/tcfsflag.c
+++ b/usr.bin/tcfs/tcfsflag.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcfsflag.c,v 1.7 2000/06/20 01:29:14 provos Exp $ */
+/* $OpenBSD: tcfsflag.c,v 1.8 2000/06/20 07:58:57 fgsch Exp $ */
/*
* Transparent Cryptographic File System (TCFS) for NetBSD
@@ -12,16 +12,16 @@
* Base utility set v0.1
*/
-#include <stdio.h>
-#include <errno.h>
-#include <fcntl.h>
#include <sys/types.h>
+#include <sys/mount.h>
+#include <sys/param.h>
+#include <sys/wait.h>
#include <ctype.h>
+#include <errno.h>
+#include <fcntl.h>
#include <pwd.h>
+#include <stdio.h>
#include <unistd.h>
-#include <sys/param.h>
-#include <sys/mount.h>
-#include <sys/wait.h>
#include <miscfs/tcfs/tcfs.h>
#include <miscfs/tcfs/tcfs_fileinfo.h>
@@ -95,4 +95,3 @@ flags_main(int argc, char *argv[])
exit(0);
}
-