client: fix bad printf format specs

This commit is contained in:
David Anderson 2014-11-24 09:44:21 -08:00
parent b97e1c86d1
commit 849ff77898
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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
);
}