From 6935bcb93e674be76e93b81f0166b58a4ef25f91 Mon Sep 17 00:00:00 2001 From: pst Date: Tue, 6 Feb 1996 19:03:58 +0000 Subject: make setproctitle display smaller --- usr.sbin/sup/supfilesrv/Makefile | 4 ++-- usr.sbin/sup/supfilesrv/supfilesrv.c | 6 ++++-- 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); -- cgit v1.1