Don't let a user name in ftpd's proctitle

be mistaken for a status message.

PR:		misc/25217
MFC after:	7 days
This commit is contained in:
yar 2001-10-12 13:16:34 +00:00
parent 090772b098
commit bc2c059580

View File

@ -1420,7 +1420,7 @@ skip:
#ifdef SETPROCTITLE
snprintf(proctitle, sizeof(proctitle),
"%s: %s", remotehost, pw->pw_name);
"%s: user/%s", remotehost, pw->pw_name);
setproctitle("%s", proctitle);
#endif /* SETPROCTITLE */
if (logging)