update apps/shell/src/shmsg.c.
This commit is contained in:
parent
71144b4a1e
commit
b527fded62
|
@ -566,7 +566,7 @@ int ShellTaskInit(ShellCB *shellCB)
|
||||||
|
|
||||||
static int ShellKernelReg(unsigned int shellHandle)
|
static int ShellKernelReg(unsigned int shellHandle)
|
||||||
{
|
{
|
||||||
return ioctl(0, CONSOLE_CONTROL_REG_USERTASK, shellHandle);
|
return ioctl(STDIN_FILENO, CONSOLE_CONTROL_REG_USERTASK, shellHandle);
|
||||||
}
|
}
|
||||||
|
|
||||||
void *ShellEntry(void *argv)
|
void *ShellEntry(void *argv)
|
||||||
|
|
Loading…
Reference in New Issue