diff --git a/sched/trickle_handler.cpp b/sched/trickle_handler.cpp index c365e483ef..95df9d9fe2 100644 --- a/sched/trickle_handler.cpp +++ b/sched/trickle_handler.cpp @@ -168,7 +168,7 @@ int main(int argc, char** argv) { } argv[j] = 0; - retval = handle_trickle_init(argc, argv); + retval = handle_trickle_init(j, argv); if (retval) exit(1); log_messages.printf(MSG_NORMAL, "Starting trickle handler\n");