summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-12-09 05:01:24 +0000
committerpeter <peter@FreeBSD.org>1995-12-09 05:01:24 +0000
commit01a5637e8ca14b1513030bfc4d1baabe80bd2288 (patch)
tree3fcce253dc55a4bb381cd4612a979ad8ee074820 /usr.sbin
parent109e4a7676811ce16d6a57e11b5880c7c9141d0f (diff)
downloadFreeBSD-src-01a5637e8ca14b1513030bfc4d1baabe80bd2288.zip
FreeBSD-src-01a5637e8ca14b1513030bfc4d1baabe80bd2288.tar.gz
Update sendmail's "knowledge" of the ps_strings structure.
This really is ugly, we need setproctitle() in a shared lib somewhere to make these more transparent.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sendmail/src/conf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/sendmail/src/conf.c b/usr.sbin/sendmail/src/conf.c
index 0f47773..c0a3a27 100644
--- a/usr.sbin/sendmail/src/conf.c
+++ b/usr.sbin/sendmail/src/conf.c
@@ -1558,7 +1558,7 @@ getla()
/* Non Apollo stuff removed by Don Lewis 11/15/93 */
#ifndef lint
-static char rcsid[] = "@(#)$Id: conf.c,v 1.8 1995/12/02 18:17:13 peter Exp $";
+static char rcsid[] = "@(#)$Id: conf.c,v 1.9 1995/12/06 07:56:45 peter Exp $";
#endif /* !lint */
#ifdef apollo
@@ -1833,7 +1833,8 @@ setproctitle(fmt, va_alist)
# endif
# if SPT_TYPE == SPT_PSSTRINGS
PS_STRINGS->ps_nargvstr = 1;
- PS_STRINGS->ps_argvstr = buf;
+ PS_STRINGS->ps_argvstr[0] = buf;
+ PS_STRINGS->ps_argvstr[1] = 0;
# endif
# if SPT_TYPE == SPT_SYSMIPS
sysmips(SONY_SYSNEWS, NEWS_SETPSARGS, buf);
OpenPOWER on IntegriCloud