mirror of https://github.com/BOINC/boinc.git
client: fix bad printf format specs
This commit is contained in:
parent
b97e1c86d1
commit
849ff77898
|
@ -426,8 +426,8 @@ int CLIENT_STATE::init() {
|
|||
if (coprocs.coprocs[j].count > MAX_COPROC_INSTANCES) {
|
||||
msg_printf(NULL, MSG_USER_ALERT,
|
||||
"%d instances of %s specified in cc_config.xml; max is %d",
|
||||
coprocs.coprocs[j].type,
|
||||
coprocs.coprocs[j].count,
|
||||
coprocs.coprocs[j].type,
|
||||
MAX_COPROC_INSTANCES
|
||||
);
|
||||
coprocs.coprocs[j].count = MAX_COPROC_INSTANCES;
|
||||
|
|
|
@ -533,7 +533,7 @@ void RR_SIM::simulate() {
|
|||
rwf.sim_excluded_instances = ~(rwf.sim_used_instances) & mask;
|
||||
if (log_flags.rrsim_detail) {
|
||||
msg_printf(0, MSG_INFO,
|
||||
"[rrsim_detail] rsc %d: sim_used_inst %d mask %d sim_excluded_instances %d",
|
||||
"[rrsim_detail] rsc %d: sim_used_inst %lld mask %lld sim_excluded_instances %lld",
|
||||
i, rwf.sim_used_instances, mask, rwf.sim_excluded_instances
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue