Set buffer to empty string to prevent duplicated output in some cases.
PR: 193888
This commit is contained in:
parent
a4277f9c74
commit
0abb9ca634
@ -424,6 +424,7 @@ bp_flush(struct buf_pr *b)
|
||||
|
||||
b->ptr = b->buf;
|
||||
b->avail = b->size;
|
||||
b->buf[0] = '\0';
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user