mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 09:08:25 +00:00
[smart] fixup devfs porting layer of terminal (#8797)
Signed-off-by: Shell <smokewood@qq.com>
This commit is contained in:
@@ -176,7 +176,7 @@ static int lwp_startup(void)
|
||||
else
|
||||
{
|
||||
rt_lwp_t p = lwp_from_pid_locked(1);
|
||||
p->sig_protected = 0;
|
||||
p->sig_protected = 1;
|
||||
|
||||
error = 0;
|
||||
}
|
||||
@@ -186,7 +186,7 @@ static int lwp_startup(void)
|
||||
|
||||
if (error)
|
||||
{
|
||||
LOG_E("%s: init program not found\n"
|
||||
LOG_D("%s: init program not found\n"
|
||||
"Switching to legacy mode...", __func__);
|
||||
}
|
||||
return error;
|
||||
|
||||
Reference in New Issue
Block a user