diff options
author | Juan Quintela <quintela@redhat.com> | 2012-09-04 12:45:42 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2012-10-17 18:35:00 +0200 |
commit | a2b413512443e67cd58285b8d98b84792a66c710 (patch) | |
tree | 1e15091a6d7056d4f4d6db3db195b19576e72ef1 /savevm.c | |
parent | 6f121ff575e1601d652f3eecf4f9ab1205c12df1 (diff) |
savevm: make qemu_file_put_notify() return errors
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'savevm.c')
-rw-r--r-- | savevm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -523,9 +523,9 @@ int qemu_fclose(QEMUFile *f) return ret; } -void qemu_file_put_notify(QEMUFile *f) +int qemu_file_put_notify(QEMUFile *f) { - f->put_buffer(f->opaque, NULL, 0, 0); + return f->put_buffer(f->opaque, NULL, 0, 0); } void qemu_put_buffer(QEMUFile *f, const uint8_t *buf, int size) |