summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c
index d6109a33..e6443942 100644
--- a/init/init.c
+++ b/init/init.c
@@ -895,7 +895,7 @@ S_startup_request_notification (mach_port_t server,
nt->next = ntfy_tasks;
ntfy_tasks = nt;
nt->name = malloc (strlen (name) + 1);
- strcpy (nt->name, nt->name);
+ strcpy (nt->name, name);
return 0;
}