Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4345 → Rev 4344

/branches/dynload/kernel/generic/src/proc/task.c
52,7 → 52,6
#include <print.h>
#include <errno.h>
#include <func.h>
#include <string.h>
#include <syscall/copy.h>
 
/** Spinlock protecting the tasks_tree AVL tree. */
274,7 → 273,7
return (unative_t) rc;
 
namebuf[name_len] = '\0';
strncpy(TASK->name, namebuf, TASK_NAME_BUFLEN);
strcpy(TASK->name, namebuf);
 
return EOK;
}