Moved chatter behind if(verbose)
authorDavid Schleef <ds@schleef.org>
Mon, 9 Jul 2001 02:41:18 +0000 (02:41 +0000)
committerDavid Schleef <ds@schleef.org>
Mon, 9 Jul 2001 02:41:18 +0000 (02:41 +0000)
testing/cmd_1.c
testing/mmap.c

index d4e71e3c786cb1030fa0a7125d77ea298024f701..66afc4a401d551ae7f8155037c5e6d4b0e1f3730 100644 (file)
@@ -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);
                }
        }
 
index 7230ad2192f99226eaa27501fa0783ac0fa9f81f..f9e8eca461027e66ffa97ffdb480a1f00c111c84 100644 (file)
@@ -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)){