diff options
Diffstat (limited to 'capitests/test-debug-to-file.c')
-rw-r--r-- | capitests/test-debug-to-file.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/capitests/test-debug-to-file.c b/capitests/test-debug-to-file.c index 6d1b619e..5eb56104 100644 --- a/capitests/test-debug-to-file.c +++ b/capitests/test-debug-to-file.c @@ -27,6 +27,8 @@ #include <string.h> #include <unistd.h> +#include "ignore-value.h" + #include "guestfs.h" static void @@ -40,7 +42,7 @@ debug_to_file (guestfs_h *g, { FILE *fp = opaque; - fwrite (buf, 1, buf_len, fp); + ignore_value (fwrite (buf, 1, buf_len, fp)); } int |