diff options
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |