From: Jens Axboe Date: Tue, 21 Feb 2006 14:36:05 +0000 (+0100) Subject: [PATCH] blktrace: is_done() typo... X-Git-Tag: blktrace-0.99.1~16 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=42e96d8a6f2a5bf06c071189308142af77582790;p=blktrace.git [PATCH] blktrace: is_done() typo... --- 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");