Date: Wed, 17 Jan 2018 10:30:49 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r328081 - head/usr.bin/truss Message-ID: <201801171030.w0HAUnQx009574@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Wed Jan 17 10:30:49 2018 New Revision: 328081 URL: https://svnweb.freebsd.org/changeset/base/328081 Log: Add missing assignment to make sure non-first cmsgs are handled as such. Modified: head/usr.bin/truss/syscalls.c Modified: head/usr.bin/truss/syscalls.c ============================================================================== --- head/usr.bin/truss/syscalls.c Wed Jan 17 09:45:18 2018 (r328080) +++ head/usr.bin/truss/syscalls.c Wed Jan 17 10:30:49 2018 (r328081) @@ -1531,6 +1531,7 @@ print_cmsgs(FILE *fp, pid_t pid, bool receive, struct break; } fputs("}", fp); + first = false; } fputs("}", fp); free(cmsgbuf);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801171030.w0HAUnQx009574>