Fix argument order for netmsg_init().
authorSascha Wildner <saw@online.de>
Wed, 9 Dec 2009 11:36:44 +0000 (12:36 +0100)
committerSascha Wildner <saw@online.de>
Wed, 9 Dec 2009 11:36:44 +0000 (12:36 +0100)
sys/net/if_poll.c

index 817ee75..541aa17 100644 (file)
@@ -1005,7 +1005,7 @@ sysctl_burstmax(SYSCTL_HANDLER_ARGS)
                burst_max = MAX_IOPOLL_BURST_MAX;
 
        nmsg = &msg.nmsg;
-       netmsg_init(nmsg, &curthread->td_msgport, NULL,
+       netmsg_init(nmsg, NULL, &curthread->td_msgport,
                    MSGF_MPSAFE, sysctl_burstmax_handler);
        nmsg->nm_lmsg.u.ms_result = burst_max;
        msg.ctx = io_ctx;