Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2018 21:09:51 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r332253 - stable/11/usr.bin/truss
Message-ID:  <201804072109.w37L9pkv009777@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Sat Apr  7 21:09:51 2018
New Revision: 332253
URL: https://svnweb.freebsd.org/changeset/base/332253

Log:
  MFC r328081:
  
  Add missing assignment to make sure non-first cmsgs are handled as such.

Modified:
  stable/11/usr.bin/truss/syscalls.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.bin/truss/syscalls.c
==============================================================================
--- stable/11/usr.bin/truss/syscalls.c	Sat Apr  7 21:08:44 2018	(r332252)
+++ stable/11/usr.bin/truss/syscalls.c	Sat Apr  7 21:09:51 2018	(r332253)
@@ -1514,6 +1514,7 @@ print_cmsgs(FILE *fp, pid_t pid, bool recv, struct msg
 			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?201804072109.w37L9pkv009777>