diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-07-05 21:56:49 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-07-05 21:56:49 +0000 |
commit | 1a6bcc8c5e72396cac084a2d70dfca52c29739ae (patch) | |
tree | 4372006781449953268aa0b780dab201bf05a723 | |
parent | ef0a58f34fc6dfd0c01ab039fdb4202dac8a9b5d (diff) |
another setproctitle
-rw-r--r-- | libexec/ftpd/ftpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 7da6731966a..8c647a9b117 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ftpd.c,v 1.75 2000/07/05 17:21:02 deraadt Exp $ */ +/* $OpenBSD: ftpd.c,v 1.76 2000/07/05 21:56:48 deraadt Exp $ */ /* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */ /* @@ -2011,7 +2011,7 @@ dolog(sa) remotehost[sizeof(remotehost)-1] = '\0'; #ifdef HASSETPROCTITLE snprintf(proctitle, sizeof(proctitle), "%s: connected", remotehost); - setproctitle(proctitle); + setproctitle("%s", proctitle); #endif /* HASSETPROCTITLE */ if (logging) |