projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e64909
)
Moved chatter behind if(verbose)
author
David Schleef
<ds@schleef.org>
Mon, 9 Jul 2001 02:41:18 +0000
(
02:41
+0000)
committer
David Schleef
<ds@schleef.org>
Mon, 9 Jul 2001 02:41:18 +0000
(
02:41
+0000)
testing/cmd_1.c
patch
|
blob
|
history
testing/mmap.c
patch
|
blob
|
history
diff --git
a/testing/cmd_1.c
b/testing/cmd_1.c
index d4e71e3c786cb1030fa0a7125d77ea298024f701..66afc4a401d551ae7f8155037c5e6d4b0e1f3730 100644
(file)
--- 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 7230ad2192f99226eaa27501fa0783ac0fa9f81f..f9e8eca461027e66ffa97ffdb480a1f00c111c84 100644
(file)
--- 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)){