summaryrefslogtreecommitdiff
path: root/usr.bin/rdistd
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-07-12 03:02:28 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-07-12 03:02:28 +0000
commit5dfa1b8358c61d028262cd13e70bfd7955b851bc (patch)
treed957094998a030b402f3a7fd8047abac5c3ffab0 /usr.bin/rdistd
parent3b1f4435ffa5b4c6b3c8d6892e05f2717acc739c (diff)
Yes, we have setproctitle(). Delete that and several unused HAVE_* #defines
Diffstat (limited to 'usr.bin/rdistd')
-rw-r--r--usr.bin/rdistd/server.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/rdistd/server.c b/usr.bin/rdistd/server.c
index 2fd6b7f6270..f1f6a8794ca 100644
--- a/usr.bin/rdistd/server.c
+++ b/usr.bin/rdistd/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.31 2014/07/05 07:39:18 guenther Exp $ */
+/* $OpenBSD: server.c,v 1.32 2014/07/12 03:02:27 guenther Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -1304,9 +1304,7 @@ setconfig(char *cmd)
if (!fromhost) {
fromhost = xstrdup(cp);
message(MT_SYSLOG, "startup for %s", fromhost);
-#if defined(SETARGS) || defined(HAVE_SETPROCTITLE)
setproctitle("serving %s", cp);
-#endif /* SETARGS || HAVE_SETPROCTITLE */
}
break;