Skip to content
Commit f5c65fa9 authored by Florian Weimer's avatar Florian Weimer
Browse files

libio: Update number of written bytes in dprintf implementation



The __printf_buffer_flush_dprintf function needs to record that
the buffer has been written before reusing it.  Without this
accounting, dprintf always returns zero.

Fixes commit 8ece45e4
("libio: Convert __vdprintf_internal to buffers").

Reviewed-by: default avatarCarlos O'Donell <carlos@redhat.com>
Tested-by: default avatarCarlos O'Donell <carlos@redhat.com>
parent 2f39e44a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment