From 98672b296b6e3079471a145ea5eb5eed90d7fa6f Mon Sep 17 00:00:00 2001 From: dg Date: Thu, 11 Aug 1994 13:40:58 +0000 Subject: Use nulls to pad proctitle rather than spaces...makes ps(1) output more readable. --- usr.sbin/nfsd/nfsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/nfsd') diff --git a/usr.sbin/nfsd/nfsd.c b/usr.sbin/nfsd/nfsd.c index 63f4f00..8e2d14c 100644 --- a/usr.sbin/nfsd/nfsd.c +++ b/usr.sbin/nfsd/nfsd.c @@ -585,5 +585,5 @@ setproctitle(a) (void)strncpy(cp, buf, LastArg - cp); cp += strlen(cp); while (cp < LastArg) - *cp++ = ' '; + *cp++ = '\0'; } -- cgit v1.1