Set buffer to empty string to prevent duplicated output in some cases.

PR:		193888
This commit is contained in:
Andrey V. Elsukov 2016-03-09 14:47:05 +00:00
parent 62411b41c4
commit 7aee4940a5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296566

View File

@ -424,6 +424,7 @@ bp_flush(struct buf_pr *b)
b->ptr = b->buf;
b->avail = b->size;
b->buf[0] = '\0';
}
/*