[PATCH] blktrace: is_done() typo...
authorJens Axboe <axboe@suse.de>
Tue, 21 Feb 2006 14:36:05 +0000 (15:36 +0100)
committerJens Axboe <axboe@suse.de>
Tue, 21 Feb 2006 14:36:05 +0000 (15:36 +0100)
blktrace.c

index 8ea939032a485814bd7b6121df2e26b80863f9e8..ad18fd3b11ec93c1d6e5792fd1b4e9778ca1731d 100644 (file)
@@ -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");