From 42e96d8a6f2a5bf06c071189308142af77582790 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 21 Feb 2006 15:36:05 +0100 Subject: [PATCH] [PATCH] blktrace: is_done() typo... --- blktrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blktrace.c b/blktrace.c index 8ea9390..ad18fd3 100644 --- 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"); -- 2.25.1