summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>1998-12-21 16:14:40 +0000
committermickey <mickey@openbsd.org>1998-12-21 16:14:40 +0000
commit02de6d93703b9f3d1b2ba873d0a28c03cdaec345 (patch)
treea9650f28f644ec1aa04563324dd3a98ff76c27d6
parentUse the iomask in a correct way (diff)
downloadwireguard-openbsd-02de6d93703b9f3d1b2ba873d0a28c03cdaec345.tar.xz
wireguard-openbsd-02de6d93703b9f3d1b2ba873d0a28c03cdaec345.zip
compiling before commit would be nice
-rw-r--r--sbin/mount_kernfs/mount_kernfs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/mount_kernfs/mount_kernfs.c b/sbin/mount_kernfs/mount_kernfs.c
index 2381456871c..3ef864409f6 100644
--- a/sbin/mount_kernfs/mount_kernfs.c
+++ b/sbin/mount_kernfs/mount_kernfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount_kernfs.c,v 1.6 1998/12/21 13:43:37 art Exp $ */
+/* $OpenBSD: mount_kernfs.c,v 1.7 1998/12/21 16:14:40 mickey Exp $ */
/* $NetBSD: mount_kernfs.c,v 1.8 1996/04/13 05:35:39 cgd Exp $ */
/*
@@ -48,7 +48,7 @@ char copyright[] =
#if 0
static char sccsid[] = "@(#)mount_kernfs.c 8.2 (Berkeley) 3/27/94";
#else
-static char rcsid[] = "$OpenBSD: mount_kernfs.c,v 1.6 1998/12/21 13:43:37 art Exp $";
+static char rcsid[] = "$OpenBSD: mount_kernfs.c,v 1.7 1998/12/21 16:14:40 mickey Exp $";
#endif
#endif /* not lint */
@@ -56,6 +56,7 @@ static char rcsid[] = "$OpenBSD: mount_kernfs.c,v 1.6 1998/12/21 13:43:37 art Ex
#include <sys/mount.h>
#include <err.h>
+#include <errno.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>