sch_htb compile fix.

From: Dave Jones
Date: Sat Jul 15 2006 - 03:39:38 EST


net/sched/sch_htb.c: In function 'htb_change_class':
net/sched/sch_htb.c:1605: error: expected ';' before 'do_gettimeofday'

Signed-off-by: Dave Jones <davej@xxxxxxxxxx>

--- linux-2.6.17.noarch/net/sched/sch_htb.c~ 2006-07-15 03:40:14.000000000 -0400
+++ linux-2.6.17.noarch/net/sched/sch_htb.c 2006-07-15 03:40:21.000000000 -0400
@@ -1601,7 +1601,7 @@ static int htb_change_class(struct Qdisc
/* set class to be in HTB_CAN_SEND state */
cl->tokens = hopt->buffer;
cl->ctokens = hopt->cbuffer;
- cl->mbuffer = PSCHED_JIFFIE2US(HZ*60) /* 1min */
+ cl->mbuffer = PSCHED_JIFFIE2US(HZ*60); /* 1min */
PSCHED_GET_TIME(cl->t_c);
cl->cmode = HTB_CAN_SEND;
--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/