mirror of https://github.com/BOINC/boinc.git
VBOX: Print out the decimal value for the random checkpoint value instead of a double.
This commit is contained in:
parent
6f55578937
commit
14d24440dc
|
@ -445,9 +445,9 @@ int main(int argc, char** argv) {
|
||||||
random_checkpoint_factor = (double)(((int)(drand() * 100000.0)) % 600);
|
random_checkpoint_factor = (double)(((int)(drand() * 100000.0)) % 600);
|
||||||
fprintf(
|
fprintf(
|
||||||
stderr,
|
stderr,
|
||||||
"%s Feature: Checkpoint interval offset (%f seconds)\n",
|
"%s Feature: Checkpoint interval offset (%d seconds)\n",
|
||||||
vboxwrapper_msg_prefix(buf, sizeof(buf)),
|
vboxwrapper_msg_prefix(buf, sizeof(buf)),
|
||||||
random_checkpoint_factor
|
(int)random_checkpoint_factor
|
||||||
);
|
);
|
||||||
|
|
||||||
// Display trickle value if specified
|
// Display trickle value if specified
|
||||||
|
|
Loading…
Reference in New Issue