diff options
author | dg <dg@FreeBSD.org> | 1994-08-11 13:40:58 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-08-11 13:40:58 +0000 |
commit | 98672b296b6e3079471a145ea5eb5eed90d7fa6f (patch) | |
tree | 802e4da30f30c053489d1b355320d6006d63b492 /usr.sbin/nfsd | |
parent | 89be8c23d32d180b95b71eaba7d359a86d39aa79 (diff) | |
download | FreeBSD-src-98672b296b6e3079471a145ea5eb5eed90d7fa6f.zip FreeBSD-src-98672b296b6e3079471a145ea5eb5eed90d7fa6f.tar.gz |
Use nulls to pad proctitle rather than spaces...makes ps(1) output more
readable.
Diffstat (limited to 'usr.sbin/nfsd')
-rw-r--r-- | usr.sbin/nfsd/nfsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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'; } |