summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1996-02-06 19:03:58 +0000
committerpst <pst@FreeBSD.org>1996-02-06 19:03:58 +0000
commit6935bcb93e674be76e93b81f0166b58a4ef25f91 (patch)
tree16d395483c236a905ee5369c329ee59c21977880
parent25ee6cca2a6483ef8d489b2eb60f0fbe475a32f2 (diff)
downloadFreeBSD-src-6935bcb93e674be76e93b81f0166b58a4ef25f91.zip
FreeBSD-src-6935bcb93e674be76e93b81f0166b58a4ef25f91.tar.gz
make setproctitle display smaller
-rw-r--r--usr.sbin/sup/supfilesrv/Makefile4
-rw-r--r--usr.sbin/sup/supfilesrv/supfilesrv.c6
2 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/sup/supfilesrv/Makefile b/usr.sbin/sup/supfilesrv/Makefile
index 9a4a65f..48205b5 100644
--- a/usr.sbin/sup/supfilesrv/Makefile
+++ b/usr.sbin/sup/supfilesrv/Makefile
@@ -1,7 +1,7 @@
-# $Id$
+# $Id: Makefile,v 1.1 1995/12/26 05:15:19 peter Exp $
PROG= supfilesrv
-SRCS= supfilesrv.c
+SRCS= supfilesrv.c setproctitle.o
MAN8= supservers.8
MLINKS= supservers.8 supfilesrv.8 supservers.8 supscan.8
diff --git a/usr.sbin/sup/supfilesrv/supfilesrv.c b/usr.sbin/sup/supfilesrv/supfilesrv.c
index bd220fa..67c90d2 100644
--- a/usr.sbin/sup/supfilesrv/supfilesrv.c
+++ b/usr.sbin/sup/supfilesrv/supfilesrv.c
@@ -42,6 +42,9 @@
* across the network to save BandWidth
*
* $Log: supfilesrv.c,v $
+ * Revision 1.3 1996/02/06 18:48:03 pst
+ * Setproctitle some useful information
+ *
* Revision 1.2 1995/12/26 05:03:11 peter
* Apply ports/net/sup/patches/patch-aa...
*
@@ -846,8 +849,7 @@ setup ()
#endif
if (release == NULL)
release = salloc (DEFRELEASE);
- setproctitle("supfilesrv: serving %s/%s to %s",
- collname, release, remotehost());
+ setproctitle("%s/%s to %s", collname, release, remotehost());
if (basedir == NULL || *basedir == '\0') {
basedir = NULL;
(void) sprintf (buf,FILEDIRS,DEFDIR);
OpenPOWER on IntegriCloud