From: David Schleef Date: Mon, 9 Jul 2001 02:41:18 +0000 (+0000) Subject: Moved chatter behind if(verbose) X-Git-Tag: r0_7_16~43 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=59568d202909a4a83a11c678997d31d15e7b6a03;p=comedilib.git Moved chatter behind if(verbose) --- 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)){