Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4219 → Rev 4220

/trunk/kernel/generic/src/proc/thread.c
316,7 → 316,7
interrupts_restore(ipl);
memcpy(t->name, name, THREAD_NAME_BUFLEN);
t->name[THREAD_NAME_BUFLEN - 1] = '\0';
t->name[THREAD_NAME_BUFLEN - 1] = 0;
t->thread_code = func;
t->thread_arg = arg;
723,7 → 723,7
if (rc != 0)
return (unative_t) rc;
 
namebuf[name_len] = '\0';
namebuf[name_len] = 0;
 
/*
* In case of failure, kernel_uarg will be deallocated in this function.