summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-06-12 20:05:11 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-06-12 20:05:11 +0000
commite3ab1437d389995e035e32d00f770aa411ab668e (patch)
tree2746ce473da624520235984ef314823540951e4d
parentcdde0c414d7d48c8aaeb9eef8e3d444f156cc1a2 (diff)
(S_startup_request_notification): Fill NT->name correctly.
-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;
}