From 6e7d37729fbefdbd2ca3054def75e4ad53cc5777 Mon Sep 17 00:00:00 2001 From: glebius Date: Tue, 2 Nov 2004 20:26:41 +0000 Subject: [PATCH] Fix a harmless error in order of ng_timeout() arguments. Approved by: julian (mentor) --- sys/netgraph/ng_source.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netgraph/ng_source.c b/sys/netgraph/ng_source.c index 72fee44d5cea..291d9c948d71 100644 --- a/sys/netgraph/ng_source.c +++ b/sys/netgraph/ng_source.c @@ -627,8 +627,8 @@ ng_source_intr(node_p node, hook_p hook, void *arg1, int arg2) if (sc->packets == 0) ng_source_stop(sc); else - sc->intr_ch = ng_timeout(node, NULL, 0, - ng_source_intr, sc, NG_SOURCE_INTR_TICKS); + sc->intr_ch = ng_timeout(node, NULL, NG_SOURCE_INTR_TICKS, + ng_source_intr, sc, 0); } /*