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 5f5843a3d..8c6cdadad 100644
--- a/session.c
+++ b/session.c
@@ -1118,7 +1118,7 @@ launch_login(struct passwd *pw, const char *hostname)
1118{ 1118{
1119 /* Launch login(1). */ 1119 /* Launch login(1). */
1120 1120
1121 execl("/usr/bin/login", "login", "-h", hostname, 1121 execl(LOGIN_PROGRAM, "login", "-h", hostname,
1122#ifdef xxxLOGIN_NEEDS_TERM 1122#ifdef xxxLOGIN_NEEDS_TERM
1123 (s->term ? s->term : "unknown"), 1123 (s->term ? s->term : "unknown"),
1124#endif /* LOGIN_NEEDS_TERM */ 1124#endif /* LOGIN_NEEDS_TERM */