diff options
author | 2011-02-11 22:12:28 +0000 | |
---|---|---|
committer | 2011-02-11 22:12:28 +0000 | |
commit | 1199618b2067239088187cbd804291c12183afb2 (patch) | |
tree | 2c3e7a20d496cac653edf3f1c4c217798a2375c6 /lib/libc | |
parent | Regenerate. (diff) | |
download | wireguard-openbsd-1199618b2067239088187cbd804291c12183afb2.tar.xz wireguard-openbsd-1199618b2067239088187cbd804291c12183afb2.zip |
Fix typo, setreseuid -> setresuid
ok otto@, jmc@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/chroot.2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2 index e5177ae0284..8afbddb155c 100644 --- a/lib/libc/sys/chroot.2 +++ b/lib/libc/sys/chroot.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: chroot.2,v 1.16 2010/04/01 17:06:55 jmc Exp $ +.\" $OpenBSD: chroot.2,v 1.17 2011/02/11 22:12:28 weerd Exp $ .\" $NetBSD: chroot.2,v 1.7 1995/02/27 12:32:12 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)chroot.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: April 1 2010 $ +.Dd $Mdocdate: February 11 2011 $ .Dt CHROOT 2 .Os .Sh NAME @@ -83,7 +83,7 @@ There may be other privileges which need to be dropped as well. if (chroot(newroot) != 0 || chdir("/") != 0) err(1, "%s", newroot); -setreseuid(getuid(), getuid(), getuid()); +setresuid(getuid(), getuid(), getuid()); .Ed .Sh ERRORS .Fn chroot |