summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'session.c')
-rw-r--r--session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.c b/session.c
index d9d304746..674ff5862 100644
--- a/session.c
+++ b/session.c
@@ -1103,7 +1103,7 @@ static void
1103do_setusercontext(struct passwd *pw) 1103do_setusercontext(struct passwd *pw)
1104{ 1104{
1105#ifdef HAVE_CYGWIN 1105#ifdef HAVE_CYGWIN
1106 if (iswinnt) { 1106 if (is_winnt) {
1107#else /* HAVE_CYGWIN */ 1107#else /* HAVE_CYGWIN */
1108 if (getuid() == 0 || geteuid() == 0) { 1108 if (getuid() == 0 || geteuid() == 0) {
1109#endif /* HAVE_CYGWIN */ 1109#endif /* HAVE_CYGWIN */