diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-09-09 01:45:55 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-09-09 01:45:55 +0000 |
commit | 801c353ac5392a1ff6749a3ea1ef1fe619cbc25d (patch) | |
tree | e30fed3adcbcc619ae2f8319b147b4f93934b46d /gmon | |
parent | b0486b1cbdc8c1fca9a70c4c3cb8b774fc8c57e4 (diff) |
Change for 2.0.5bglibc-2.0.5bcvs/glibc-2_0_5b
Diffstat (limited to 'gmon')
-rw-r--r-- | gmon/gmon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gmon/gmon.c b/gmon/gmon.c index d4198ebe0b..77e59f06cb 100644 --- a/gmon/gmon.c +++ b/gmon/gmon.c @@ -285,8 +285,9 @@ write_bb_counts (fd) bbbody[nfilled++].iov_base = (char *) &grp->addresses[i]; bbbody[nfilled++].iov_base = &grp->counts[i]; } + if (nfilled > 0) + __writev (fd, bbbody, nfilled); } - __writev (fd, bbbody, nfilled); } |