diff options
| author | 2002-07-14 02:59:29 +0000 | |
|---|---|---|
| committer | 2002-07-14 02:59:29 +0000 | |
| commit | cfd5e5599edfa3165625afaebb0ddeac2ef7c6b3 (patch) | |
| tree | 9ab52c0e64e77f3a5236078fecb7b4d0a569af04 /usr.sbin/chroot/chroot.c | |
| parent | be more permissive, and let close relatives do SIGALRM (diff) | |
| download | wireguard-openbsd-cfd5e5599edfa3165625afaebb0ddeac2ef7c6b3.tar.xz wireguard-openbsd-cfd5e5599edfa3165625afaebb0ddeac2ef7c6b3.zip | |
ansi
Diffstat (limited to 'usr.sbin/chroot/chroot.c')
| -rw-r--r-- | usr.sbin/chroot/chroot.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/chroot/chroot.c b/usr.sbin/chroot/chroot.c index 42aa469899f..224c59857a3 100644 --- a/usr.sbin/chroot/chroot.c +++ b/usr.sbin/chroot/chroot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chroot.c,v 1.4 2002/05/13 07:44:48 mpech Exp $ */ +/* $OpenBSD: chroot.c,v 1.5 2002/07/14 02:59:29 deraadt Exp $ */ /* * Copyright (c) 1988 The Regents of the University of California. @@ -41,7 +41,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)chroot.c 5.8 (Berkeley) 6/1/90";*/ -static char rcsid[] = "$OpenBSD: chroot.c,v 1.4 2002/05/13 07:44:48 mpech Exp $"; +static char rcsid[] = "$OpenBSD: chroot.c,v 1.5 2002/07/14 02:59:29 deraadt Exp $"; #endif /* not lint */ #include <stdio.h> @@ -52,9 +52,7 @@ static char rcsid[] = "$OpenBSD: chroot.c,v 1.4 2002/05/13 07:44:48 mpech Exp $" #include <err.h> int -main(argc, argv) - int argc; - char **argv; +main(int argc, char *argv[]) { char *shell; |
