projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4f763c
)
[PATCH] blktrace: bad ret = len assignment that should be ret == len
author
Tom Zanussi
<zanussi@us.ibm.com>
Sun, 22 Jan 2006 18:10:04 +0000
(19:10 +0100)
committer
Jens Axboe
<axboe@suse.de>
Sun, 22 Jan 2006 18:10:04 +0000
(19:10 +0100)
blktrace.c
patch
|
blob
|
blame
|
history
diff --git
a/blktrace.c
b/blktrace.c
index 6055a30bd02d229e9a1db3a12cbc9658497bf92a..b58f86afb5fc57d0c5d5e91d0c3d4b161c85b7ea 100644
(file)
--- a/
blktrace.c
+++ b/
blktrace.c
@@
-362,7
+362,7
@@
static void refill_ringbuffer(struct thread_information *tip, int block)
resize_ringbuffer(tip);
ret = __refill_ringbuffer(tip, len, block);
- } while ((ret = len) && !is_done());
+ } while ((ret =
=
len) && !is_done());
}
static int read_data(struct thread_information *tip, void *buf,