summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-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