From 59568d202909a4a83a11c678997d31d15e7b6a03 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 9 Jul 2001 02:41:18 +0000 Subject: [PATCH] Moved chatter behind if(verbose) --- testing/cmd_1.c | 3 +-- testing/mmap.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/testing/cmd_1.c b/testing/cmd_1.c index d4e71e3..66afc4a 100644 --- a/testing/cmd_1.c +++ b/testing/cmd_1.c @@ -143,8 +143,7 @@ int test_cmd_read_fast_1chan(void) go = 0; }else{ total += ret; - if(verbose) - printf("read %d %d\n",ret,total); + if(verbose)printf("read %d %d\n",ret,total); } } diff --git a/testing/mmap.c b/testing/mmap.c index 7230ad2..f9e8eca 100644 --- a/testing/mmap.c +++ b/testing/mmap.c @@ -119,7 +119,7 @@ int test_mmap(void) }else{ total += ret; b += ret; - printf("read %d %d\n",ret,total); + if(verbose) printf("read %d %d\n",ret,total); } } if(memcmp(buf,map,total)){ -- 2.26.2