mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-11 21:20:12 +00:00
nshlib/nsh_slcd.c: Use file descriptor zero for the NSH console.
This commit is contained in:
parent
c21d640eaf
commit
c0f64622e4
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ static int nsh_clone_console(FAR struct console_stdio_s *pstate)
|
|||
|
||||
/* Use /dev/console as console input */
|
||||
|
||||
pstate->cn_confd = fd;
|
||||
pstate->cn_confd = 0;
|
||||
|
||||
/* Create a standard C stream on the console device */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue