projects
/
blktrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
btreplay: Fix typo in scaling up the dynamic cpu set size.
[blktrace.git]
/
btreplay
/
btreplay.c
diff --git
a/btreplay/btreplay.c
b/btreplay/btreplay.c
index 54440103e25fdb6efa430df2c2f46efd26e47a8e..f76227979ebccfedd85ab93a88bbb44ae67da2ec 100644
(file)
--- a/
btreplay/btreplay.c
+++ b/
btreplay/btreplay.c
@@
-516,7
+516,7
@@
realloc:
if (sched_getaffinity(getpid(), size, cpus)) {
if( errno == EINVAL && nrcpus < (4096<<4) ) {
CPU_FREE(cpus);
- nrcpus <= 1;
+ nrcpus <
<
= 1;
goto realloc;
}
fatal("sched_getaffinity", ERR_SYSCALL, "Can't get CPU info\n");