summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_prot.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
index 76254143e0fb..453d5f22f8a3 100644
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -623,7 +623,6 @@ seteuid(struct thread *td, struct seteuid_args *uap)
/*
* Everything's okay, do it.
*/
- crcopy(newcred, oldcred);
if (oldcred->cr_uid != euid) {
change_euid(newcred, euip);
setsugid(p);