mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
fuzz: don't buffer stdout in afl stubs
... to avoid obscuring output. Signed-off-by: Wei Liu <wei.liu2@citrix.com> Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
5a44ff111d
commit
9d3226aa06
2 files changed
+4
No files matched your search
@@ -13,6 +13,8 @@ int main(int argc, char **argv)
|
||||
size_t size;
|
||||
FILE *fp;
|
||||
|
||||
setbuf(stdout, NULL);
|
||||
|
||||
if ( argc != 2 )
|
||||
{
|
||||
printf("Expecting only one argument\n");
|
||||
|
||||
@@ -13,6 +13,8 @@ int main(int argc, char **argv)
|
||||
size_t size;
|
||||
FILE *fp;
|
||||
|
||||
setbuf(stdout, NULL);
|
||||
|
||||
if ( argc != 2 )
|
||||
{
|
||||
printf("Expecting only one argument\n");
|
||||
|
||||