mirror of https://github.com/BOINC/boinc.git
- client: Fix missing argument in printf statements
svn path=/trunk/boinc/; revision=18288
This commit is contained in:
parent
f9832235e4
commit
5c81b4a1ff
|
@ -5036,3 +5036,9 @@ Charlie 3 June 2009
|
||||||
|
|
||||||
mac_installer/
|
mac_installer/
|
||||||
make_GridRepublic.sh
|
make_GridRepublic.sh
|
||||||
|
|
||||||
|
Charlie 3 June 2009
|
||||||
|
- client: Fix missing argument in printf statements.
|
||||||
|
|
||||||
|
lib/
|
||||||
|
coproc.cpp,h
|
||||||
|
|
|
@ -292,9 +292,9 @@ void COPROC_CUDA::get(
|
||||||
if (use_all || !cuda_compare(gpus[i], best, true)) {
|
if (use_all || !cuda_compare(gpus[i], best, true)) {
|
||||||
best.device_nums[best.count] = gpus[i].device_num;
|
best.device_nums[best.count] = gpus[i].device_num;
|
||||||
best.count++;
|
best.count++;
|
||||||
sprintf(buf2, "NVIDIA GPU %d: %s", buf);
|
sprintf(buf2, "NVIDIA GPU %d: %s", best.count, buf);
|
||||||
} else {
|
} else {
|
||||||
sprintf(buf2, "NVIDIA GPU %d (not used): %s", buf);
|
sprintf(buf2, "NVIDIA GPU %d (not used): %s", best.count, buf);
|
||||||
}
|
}
|
||||||
strings.push_back(string(buf2));
|
strings.push_back(string(buf2));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue