Skip to content

Commit

Permalink
dsched - Correct some length modifiers to fix buildkernel for x86_64.
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxillo committed Apr 16, 2010
1 parent fcefa6f commit 760d1e3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sys/dsched/fq/dsched_fq_core.c
Expand Up @@ -498,9 +498,9 @@ fq_balance_thread(struct dsched_fq_dpriv *dpriv)
}

dsched_debug(LOG_INFO, "%d procs competing for disk\n"
"total_budget = %lld (lost bits = %d)\n"
"incomplete tp = %d\n", n, total_budget, lost_bits,
dpriv->incomplete_tp);
"total_budget = %jd (lost bits = %d)\n"
"incomplete tp = %d\n", n, (intmax_t)total_budget,
lost_bits, dpriv->incomplete_tp);

if (n == 0)
continue;
Expand Down Expand Up @@ -569,8 +569,8 @@ fq_balance_self(struct dsched_fq_priv *fqp) {

if (used_budget > 0) {
dsched_debug(LOG_INFO,
"info: used_budget = %lld, budget = %lld\n", used_budget,
budget);
"info: used_budget = %jd, budget = %jd\n",
(intmax_t)used_budget, budget);
}

if ((used_budget > budget) && (dpriv->disk_busy >= 90)) {
Expand Down

0 comments on commit 760d1e3

Please sign in to comment.