diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-05-23 22:52:05 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-05-23 22:52:05 +0000 |
commit | cc5ce1db6e098fd4cfa997152d003b8e320b17eb (patch) | |
tree | eaefae9dfd0f4701cc7bc231766067dedce81b91 /usr.sbin/chroot | |
parent | 24621ab4f59b4aa9b17c3b833311ce080972fb1c (diff) |
useless endpwent
Diffstat (limited to 'usr.sbin/chroot')
-rw-r--r-- | usr.sbin/chroot/chroot.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/chroot/chroot.c b/usr.sbin/chroot/chroot.c index 29bf5b63599..c7a5aca5e97 100644 --- a/usr.sbin/chroot/chroot.c +++ b/usr.sbin/chroot/chroot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chroot.c,v 1.11 2003/06/02 23:36:52 millert Exp $ */ +/* $OpenBSD: chroot.c,v 1.12 2005/05/23 22:52:04 henning Exp $ */ /* * Copyright (c) 1988, 1993 @@ -39,7 +39,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)chroot.c 8.1 (Berkeley) 6/9/93"; #else -static const char rcsid[] = "$OpenBSD: chroot.c,v 1.11 2003/06/02 23:36:52 millert Exp $"; +static const char rcsid[] = "$OpenBSD: chroot.c,v 1.12 2005/05/23 22:52:04 henning Exp $"; #endif #endif /* not lint */ @@ -130,7 +130,6 @@ main(int argc, char **argv) if (setuid(pwd->pw_uid) != 0) err(1, "setuid"); endgrent(); - endpwent(); } if (argv[1]) { |