Skip to contentSkip to conversation

sch_htb compile fix.

PATCH Dave Jones 2 participants 2 messages Jul 15, 2006 – Jul 16, 2006

Subsystems (3)
lore
Share & tools
lore

Dave Jones

author
#0 lore raw

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

net/sched/sch_htb.c renamed from net/sched/sch_htb.c~ +1 -2
@@ -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