summaryrefslogtreecommitdiffstats
path: root/usr.sbin/chroot/chroot.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-08-29 03:32:31 +0000
committerderaadt <deraadt@openbsd.org>1996-08-29 03:32:31 +0000
commitd6243524f81012c1001570990213e0f9959ea58a (patch)
treea66a33fffe519c30dfc39c148b273d45dfcf68b7 /usr.sbin/chroot/chroot.c
parentfix warnings (diff)
downloadwireguard-openbsd-d6243524f81012c1001570990213e0f9959ea58a.tar.xz
wireguard-openbsd-d6243524f81012c1001570990213e0f9959ea58a.zip
int main
Diffstat (limited to 'usr.sbin/chroot/chroot.c')
-rw-r--r--usr.sbin/chroot/chroot.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/chroot/chroot.c b/usr.sbin/chroot/chroot.c
index 579ce0e1384..cd9925f09bc 100644
--- a/usr.sbin/chroot/chroot.c
+++ b/usr.sbin/chroot/chroot.c
@@ -39,15 +39,17 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)chroot.c 5.8 (Berkeley) 6/1/90";*/
-static char rcsid[] = "$Id: chroot.c,v 1.1.1.1 1995/10/18 08:47:29 deraadt Exp $";
+static char rcsid[] = "$Id: chroot.c,v 1.2 1996/08/29 03:32:50 deraadt Exp $";
#endif /* not lint */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <paths.h>
+#include <unistd.h>
#include <err.h>
+int
main(argc, argv)
int argc;
char **argv;