Rev 4220 | Rev 4317 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4220 | Rev 4267 | ||
---|---|---|---|
Line 188... | Line 188... | ||
188 | name = init.tasks[i].name; |
188 | name = init.tasks[i].name; |
189 | if (name[0] == 0) |
189 | if (name[0] == 0) |
190 | name = "<unknown>"; |
190 | name = "<unknown>"; |
191 | 191 | ||
192 | ASSERT(TASK_NAME_BUFLEN >= INIT_PREFIX_LEN); |
192 | ASSERT(TASK_NAME_BUFLEN >= INIT_PREFIX_LEN); |
193 | str_ncpy(namebuf, INIT_PREFIX, TASK_NAME_BUFLEN); |
193 | str_cpy(namebuf, TASK_NAME_BUFLEN, INIT_PREFIX); |
194 | str_ncpy(namebuf + INIT_PREFIX_LEN, name, |
194 | str_cpy(namebuf + INIT_PREFIX_LEN, |
195 | TASK_NAME_BUFLEN - INIT_PREFIX_LEN); |
195 | TASK_NAME_BUFLEN - INIT_PREFIX_LEN, name); |
196 | 196 | ||
197 | int rc = program_create_from_image((void *) init.tasks[i].addr, |
197 | int rc = program_create_from_image((void *) init.tasks[i].addr, |
198 | namebuf, &programs[i]); |
198 | namebuf, &programs[i]); |
199 | 199 | ||
200 | if ((rc == 0) && (programs[i].task != NULL)) { |
200 | if ((rc == 0) && (programs[i].task != NULL)) { |
201 | /* |
201 | /* |