From 1a6bcc8c5e72396cac084a2d70dfca52c29739ae Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 5 Jul 2000 21:56:49 +0000 Subject: another setproctitle --- libexec/ftpd/ftpd.c | 4 ++-- 1 file 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) -- cgit v1.2.3