diff options
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ftpd/logwtmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/ftpd/logwtmp.c b/libexec/ftpd/logwtmp.c index 82683f5..711234f 100644 --- a/libexec/ftpd/logwtmp.c +++ b/libexec/ftpd/logwtmp.c @@ -75,6 +75,7 @@ ftpd_logwtmp(char *id, char *user, struct sockaddr *addr) ut.ut_pid = getpid(); gettimeofday(&ut.ut_tv, NULL); (void)strncpy(ut.ut_id, id, sizeof(ut.ut_id)); + (void)strncpy(ut.ut_line, "ftpd", sizeof(ut.ut_line)); pututxline(&ut); } |