projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3680825
)
[PATCH] blktrace: is_done() typo...
author
Jens Axboe
<axboe@suse.de>
Tue, 21 Feb 2006 14:36:05 +0000
(15:36 +0100)
committer
Jens Axboe
<axboe@suse.de>
Tue, 21 Feb 2006 14:36:05 +0000
(15:36 +0100)
blktrace.c
patch
|
blob
|
blame
|
history
diff --git
a/blktrace.c
b/blktrace.c
index 8ea939032a485814bd7b6121df2e26b80863f9e8..ad18fd3b11ec93c1d6e5792fd1b4e9778ca1731d 100644
(file)
--- a/
blktrace.c
+++ b/
blktrace.c
@@
-800,7
+800,7
@@
static int net_sendfile(struct thread_information *tip, struct tip_subbuf *ts)
unsigned int bytes_left = ts->len;
int ret;
- while (bytes_left && is_done()) {
+ while (bytes_left &&
!
is_done()) {
ret = sendfile(net_out_fd, tip->fd, &ts->offset, bytes_left);
if (ret < 0) {
perror("sendfile");