summaryrefslogtreecommitdiffstats
path: root/sbin/mount_autofs
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2004-09-12 02:24:01 +0000
committeralfred <alfred@FreeBSD.org>2004-09-12 02:24:01 +0000
commit970c31768aaba98a25c860b742408312582b7165 (patch)
tree1efdfc8f50e6e666aab534196e73e13ed172ce9c /sbin/mount_autofs
parent0b5cabf95002e30f22693570475c68d9d4f5a835 (diff)
downloadFreeBSD-src-970c31768aaba98a25c860b742408312582b7165.zip
FreeBSD-src-970c31768aaba98a25c860b742408312582b7165.tar.gz
Fix build.
Diffstat (limited to 'sbin/mount_autofs')
-rw-r--r--sbin/mount_autofs/mount_autofs.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/sbin/mount_autofs/mount_autofs.c b/sbin/mount_autofs/mount_autofs.c
index d01f840..092c5f7 100644
--- a/sbin/mount_autofs/mount_autofs.c
+++ b/sbin/mount_autofs/mount_autofs.c
@@ -26,14 +26,16 @@
* $Id: mount_autofs.c,v 1.5 2004/09/08 08:12:21 bright Exp $
* $FreeBSD$
*/
-#include <sys/param.h>
-#include <sys/mount.h>
-#include <sys/uio.h>
+#include <err.h>
#include <stdio.h>
#include <stdlib.h>
-#include <err.h>
+#include <string.h>
#include <unistd.h>
+#include <sys/param.h>
+#include <sys/mount.h>
+#include <sys/uio.h>
+
void usage(void);
const char *progname;
@@ -77,7 +79,7 @@ mymount(char *type, char *dir, int flags, void *data)
int
main(int argc, char **argv)
{
- int error, i;
+ int error;
int ch;
progname = argv[0];
OpenPOWER on IntegriCloud