linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / net / tipc / config.c
index 48b5de2..3c8e674 100644 (file)
@@ -683,11 +683,11 @@ int tipc_cfg_init(void)
        memset(&mng, 0, sizeof(mng));
        INIT_LIST_HEAD(&mng.link_subscribers);
 
-       res = tipc_attach(&mng.user_ref, NULL, NULL);
+       res = tipc_attach(&mng.user_ref, 0, 0);
        if (res)
                goto failed;
 
-       res = tipc_createport(mng.user_ref, NULL, TIPC_CRITICAL_IMPORTANCE,
+       res = tipc_createport(mng.user_ref, 0, TIPC_CRITICAL_IMPORTANCE,
                              NULL, NULL, NULL,
                              NULL, cfg_named_msg_event, NULL,
                              NULL, &mng.port_ref);