summaryrefslogtreecommitdiff
path: root/security/openssh/patches
diff options
context:
space:
mode:
authortv <tv>2006-11-21 17:43:56 +0000
committertv <tv>2006-11-21 17:43:56 +0000
commit436042d5507b35f53e55f3b5b8e54c9381ac8dce (patch)
tree3ff8ffa1f92be20e71e81c6c09e46cc6f9fa41eb /security/openssh/patches
parent8e750bddb9ea20f43e31dac7c187e1cb17907c69 (diff)
downloadpkgsrc-436042d5507b35f53e55f3b5b8e54c9381ac8dce.tar.gz
fix variable name in Interix part of patch
Diffstat (limited to 'security/openssh/patches')
-rw-r--r--security/openssh/patches/patch-av4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/openssh/patches/patch-av b/security/openssh/patches/patch-av
index 2513a3d0ecb..b029a71e43f 100644
--- a/security/openssh/patches/patch-av
+++ b/security/openssh/patches/patch-av
@@ -1,4 +1,4 @@
-$NetBSD: patch-av,v 1.5 2006/10/31 03:31:20 taca Exp $
+$NetBSD: patch-av,v 1.6 2006/11/21 17:43:56 tv Exp $
--- sshd.c.orig 2006-10-29 17:01:29.000000000 +0900
+++ sshd.c
@@ -19,7 +19,7 @@ $NetBSD: patch-av,v 1.5 2006/10/31 03:31:20 taca Exp $
do_setusercontext(privsep_pw);
#else
+#ifdef HAVE_INTERIX
-+ if (setuser(pw->pw_name, NULL, SU_COMPLETE))
++ if (setuser(privsep_pw->pw_name, NULL, SU_COMPLETE))
+ fatal("setuser: %.100s", strerror(errno));
+#else
gidset[0] = privsep_pw->pw_gid;