From 7c7c0629a3391691e76cb2b488bb6d461edc9648 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 20 Jan 2010 00:56:09 +0100 Subject: force to test result for qemu_write_full() Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- qemu-common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qemu-common.h') diff --git a/qemu-common.h b/qemu-common.h index a2731e1..ae4f23b 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -161,7 +161,8 @@ void qemu_mutex_lock_iothread(void); void qemu_mutex_unlock_iothread(void); int qemu_open(const char *name, int flags, ...); -ssize_t qemu_write_full(int fd, const void *buf, size_t count); +ssize_t qemu_write_full(int fd, const void *buf, size_t count) + QEMU_WARN_UNUSED_RESULT; void qemu_set_cloexec(int fd); #ifndef _WIN32 -- cgit v1.1