summaryrefslogtreecommitdiff
path: root/usr.sbin/chroot/chroot.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-29 03:32:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-29 03:32:51 +0000
commite7238f65f19bb409091f3dea8c85bc69532d8d84 (patch)
tree9c8362e246ee6033a7d9af809cf1f4b489dc0ffd /usr.sbin/chroot/chroot.c
parented6fd9cf27d8f0f284d3a0ca9b572ccdcb65333f (diff)
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 be14ee9831f..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 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;