Rev 3474 | Rev 4343 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3474 | Rev 3569 | ||
---|---|---|---|
Line 62... | Line 62... | ||
62 | loader_t *ldr; |
62 | loader_t *ldr; |
63 | task_id_t task_id; |
63 | task_id_t task_id; |
64 | int rc; |
64 | int rc; |
65 | 65 | ||
66 | /* Spawn a program loader. */ |
66 | /* Spawn a program loader. */ |
67 | ldr = loader_spawn(); |
67 | ldr = loader_spawn(path); |
68 | if (ldr == NULL) |
68 | if (ldr == NULL) |
69 | return 0; |
69 | return 0; |
70 | 70 | ||
71 | /* Get task ID. */ |
71 | /* Get task ID. */ |
72 | rc = loader_get_task_id(ldr, &task_id); |
72 | rc = loader_get_task_id(ldr, &task_id); |