Rework service init functions to pass down service name. This is
[ira/wip.git] / source / nbt_server / nbt_server.c
index 1718ef7f2e0e1788b0fc6bbf94453b4e96f557eb..bcdc63e984dbfe3610fa4748c3b85bad2e62f9c6 100644 (file)
@@ -93,7 +93,7 @@ static void nbtd_task_init(struct task_server *task)
  */
 static NTSTATUS nbtd_init(struct event_context *event_ctx, struct loadparm_context *lp_ctx, const struct model_ops *model_ops)
 {
-       return task_server_startup(event_ctx, lp_ctx, 
+       return task_server_startup(event_ctx, lp_ctx, "nbt",
                                   model_ops, nbtd_task_init);
 }