Subversion Repositories HelenOS

Rev

Rev 3425 | Rev 3675 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3425 Rev 3536
Line 151... Line 151...
151
        ipc_answer_0(callid, EINVAL);
151
        ipc_answer_0(callid, EINVAL);
152
        ipc_answer_0(rid, EINVAL);
152
        ipc_answer_0(rid, EINVAL);
153
        return;
153
        return;
154
    }
154
    }
155
    /* Allocate buffer for the mount point data being received. */
155
    /* Allocate buffer for the mount point data being received. */
156
    uint8_t *buf;
156
    char *buf;
157
    buf = malloc(size + 1);
157
    buf = malloc(size + 1);
158
    if (!buf) {
158
    if (!buf) {
159
        ipc_answer_0(callid, ENOMEM);
159
        ipc_answer_0(callid, ENOMEM);
160
        ipc_answer_0(rid, ENOMEM);
160
        ipc_answer_0(rid, ENOMEM);
161
        return;
161
        return;