Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2899 → Rev 2900

/branches/tracing/kernel/generic/src/udebug/udebug_ipc.c
60,7 → 60,6
if (to_copy > sizeof(istate_t)) to_copy = sizeof(istate_t);
 
buffer = malloc(to_copy, 0);
if (!buffer) return ENOMEM;
 
rc = copy_from_uspace(buffer, uspace_data, to_copy);
if (rc != 0) {
87,7 → 86,6
to_copy = IPC_GET_ARG4(call->data);
 
buffer = malloc(to_copy, 0);
if (!buffer) return ENOMEM;
 
rc = copy_from_uspace(buffer, uspace_data, to_copy);
if (rc != 0) {