diff --git a/tc/q_gred.c b/tc/q_gred.c index 625bcf96..d876f83f 100644 --- a/tc/q_gred.c +++ b/tc/q_gred.c @@ -232,7 +232,7 @@ static int gred_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct n return -1; } if (parm >= 10) - fprintf(stderr, "GRED: WARNING. Burst %d seems to be too " + fprintf(stderr, "GRED: WARNING. Burst %u seems to be too " "large.\n", burst); opt.Wlog = parm; if ((parm = tc_red_eval_P(opt.qth_min, opt.qth_max, probability)) < 0) { diff --git a/tc/q_red.c b/tc/q_red.c index 5a74c500..6555eb2a 100644 --- a/tc/q_red.c +++ b/tc/q_red.c @@ -131,7 +131,7 @@ static int red_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nl return -1; } if (parm >= 10) - fprintf(stderr, "RED: WARNING. Burst %d seems to be too large.\n", burst); + fprintf(stderr, "RED: WARNING. Burst %u seems to be too large.\n", burst); opt.Wlog = parm; if ((parm = tc_red_eval_P(opt.qth_min, opt.qth_max, probability)) < 0) { fprintf(stderr, "RED: failed to calculate probability.\n");