Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/kinit.c

    r19f857a r98000fb  
    6666#include <ipc/ipc.h>
    6767#include <debug.h>
    68 #include <str.h>
     68#include <string.h>
    6969
    7070#ifdef CONFIG_SMP
     
    9494void kinit(void *arg)
    9595{
     96
    9697#if defined(CONFIG_SMP) || defined(CONFIG_KCONSOLE)
    9798        thread_t *thread;
     
    183184               
    184185                char namebuf[TASK_NAME_BUFLEN];
    185                
    186                 const char *name = init.tasks[i].name;
     186                char *name;
     187               
     188                name = init.tasks[i].name;
    187189                if (name[0] == 0)
    188190                        name = "<unknown>";
     
    215217                }
    216218        }
    217 
     219       
    218220        /*
    219221         * Run user tasks.
     
    223225                        program_ready(&programs[i]);
    224226        }
    225 
     227       
    226228#ifdef CONFIG_KCONSOLE
    227229        if (!stdin) {
Note: See TracChangeset for help on using the changeset viewer.