summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/ftpcmd.y
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-01-01 08:35:11 +0000
committerpeter <peter@FreeBSD.org>1996-01-01 08:35:11 +0000
commiteee47fe2812a5b95997752afb65d1a9294b59dac (patch)
tree88e20315603b7499142360c1440fe26528bcbdda /libexec/ftpd/ftpcmd.y
parent6a9e3f156780cea8035012442a24d58499f4efe1 (diff)
downloadFreeBSD-src-eee47fe2812a5b95997752afb65d1a9294b59dac.zip
FreeBSD-src-eee47fe2812a5b95997752afb65d1a9294b59dac.tar.gz
Make ftpd use setproctitle() from libutil
I've left the old code in there under #ifdef OLD_SETPROCTITLE in case somebody wants to try to compile out ftpd on some other machine.
Diffstat (limited to 'libexec/ftpd/ftpcmd.y')
-rw-r--r--libexec/ftpd/ftpcmd.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/ftpd/ftpcmd.y b/libexec/ftpd/ftpcmd.y
index 151c3d7..4473b15 100644
--- a/libexec/ftpd/ftpcmd.y
+++ b/libexec/ftpd/ftpcmd.y
@@ -63,6 +63,7 @@ static char sccsid[] = "@(#)ftpcmd.y 8.3 (Berkeley) 4/6/94";
#include <syslog.h>
#include <time.h>
#include <unistd.h>
+#include <libutil.h>
#include "extern.h"
OpenPOWER on IntegriCloud