nshlib/nsh_slcd.c: Use file descriptor zero for the NSH console.
This commit is contained in:
parent
c21d640eaf
commit
c0f64622e4
@ -93,7 +93,7 @@ static int nsh_clone_console(FAR struct console_stdio_s *pstate)
|
|||||||
|
|
||||||
/* Use /dev/console as console input */
|
/* Use /dev/console as console input */
|
||||||
|
|
||||||
pstate->cn_confd = fd;
|
pstate->cn_confd = 0;
|
||||||
|
|
||||||
/* Create a standard C stream on the console device */
|
/* Create a standard C stream on the console device */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user