Set buffer to empty string to prevent duplicated output in some cases.
PR: 193888
This commit is contained in:
parent
62411b41c4
commit
7aee4940a5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296566
@ -424,6 +424,7 @@ bp_flush(struct buf_pr *b)
|
|||||||
|
|
||||||
b->ptr = b->buf;
|
b->ptr = b->buf;
|
||||||
b->avail = b->size;
|
b->avail = b->size;
|
||||||
|
b->buf[0] = '\0';
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user