Changeset 0993087 in mainline for uspace/lib/libc/generic/loader.c


Ignore:
Timestamp:
2008-09-24T16:11:35Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
119c335
Parents:
4470e26
Message:

Fix bugs in getting task ID from loader (was breaking ppc32).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/loader.c

    r4470e26 r0993087  
    3636#include <ipc/loader.h>
    3737#include <libc.h>
     38#include <task.h>
    3839#include <string.h>
    3940#include <stdlib.h>
     
    9495        /* Get task ID. */
    9596        req = async_send_0(ldr->phone_id, LOADER_GET_TASKID, &answer);
    96         rc = ipc_data_read_start(ldr->phone_id, task_id, sizeof(task_id));
     97        rc = ipc_data_read_start(ldr->phone_id, task_id, sizeof(task_id_t));
    9798        if (rc != EOK) {
    9899                async_wait_for(req, NULL);
Note: See TracChangeset for help on using the changeset viewer.