git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 1.10.11.
[libguestfs.git]
/
capitests
/
test-debug-to-file.c
diff --git
a/capitests/test-debug-to-file.c
b/capitests/test-debug-to-file.c
index
6d1b619
..
5eb5610
100644
(file)
--- 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 <string.h>
#include <unistd.h>
+#include "ignore-value.h"
+
#include "guestfs.h"
static void
#include "guestfs.h"
static void
@@
-40,7
+42,7
@@
debug_to_file (guestfs_h *g,
{
FILE *fp = opaque;
{
FILE *fp = opaque;
-
fwrite (buf, 1, buf_len, fp
);
+
ignore_value (fwrite (buf, 1, buf_len, fp)
);
}
int
}
int