diff options
author | metalefty <meta@vmeta.jp> | 2016-12-09 12:32:55 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-09 12:32:55 +0900 |
commit | 42272c0f1891264af718e8f0a02ebc883f248ed8 (patch) | |
tree | ef256ab7fdc20af73b78c4109d6cc474598ebbda | |
parent | 731d4be6700beffa7f9710e96285707cec27a535 (diff) | |
parent | 35bc7c1d65732518186c874ff5425c7c561a0a24 (diff) | |
download | xrdp-proprietary-42272c0f1891264af718e8f0a02ebc883f248ed8.tar.gz xrdp-proprietary-42272c0f1891264af718e8f0a02ebc883f248ed8.zip |
Merge pull request #532 from metalefty/freebsd/session
sesman: unbreak FreeBSD build after #523
-rw-r--r-- | sesman/session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sesman/session.c b/sesman/session.c index 4b059fbc..783665cf 100644 --- a/sesman/session.c +++ b/sesman/session.c @@ -528,10 +528,10 @@ session_start_fork(tbus data, tui8 type, struct SCP_SESSION *s) "setsid failed - pid %d", g_getpid()); } - if (g_setlogin(username) < 0) + if (g_setlogin(s->username) < 0) { log_message(LOG_LEVEL_ERROR, - "setlogin failed for user %s - pid %d", username, + "setlogin failed for user %s - pid %d", s->username, g_getpid()); } } |