buffered_file: make buffered_flush return the error code
authorJuan Quintela <quintela@redhat.com>
Fri, 24 Aug 2012 10:43:04 +0000 (12:43 +0200)
committerJuan Quintela <quintela@redhat.com>
Wed, 17 Oct 2012 16:34:59 +0000 (18:34 +0200)
commitd2dbc8e6a95a9f66f886c35db42786efc906c777
tree9ed10c7718530c76213815d1897fa8bdc2df2430
parent3d6dff316f20137a87e099c30136358df029c0f6
buffered_file: make buffered_flush return the error code

Or the amount of data written if there is no error.  Adjust all callers.

Signed-off-by: Juan Quintela <quintela@redhat.com>
buffered_file.c