Subversion Repositories HelenOS

Rev

Rev 3536 | Rev 4380 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3536 Rev 3597
Line 111... Line 111...
111
{
111
{
112
    loader_t *ldr;
112
    loader_t *ldr;
113
    int rc;
113
    int rc;
114
 
114
 
115
    /* Spawn a program loader */   
115
    /* Spawn a program loader */   
116
    ldr = loader_spawn();
116
    ldr = loader_spawn(path);
117
    if (ldr == NULL)
117
    if (ldr == NULL)
118
        return 0;
118
        return 0;
119
 
119
 
120
    /* Get task ID. */
120
    /* Get task ID. */
121
    rc = loader_get_task_id(ldr, task_id);
121
    rc = loader_get_task_id(ldr, task_id);