Add missing assignment to make sure non-first cmsgs are handled as such.

This commit is contained in:
Michael Tuexen 2018-01-17 10:30:49 +00:00
parent f7b509a109
commit b8ff144e19
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=328081

View File

@ -1531,6 +1531,7 @@ print_cmsgs(FILE *fp, pid_t pid, bool receive, struct msghdr *msghdr)
break;
}
fputs("}", fp);
first = false;
}
fputs("}", fp);
free(cmsgbuf);