mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
libc: posix_openpty should use the absolute path("dev/ptmx")
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Masayuki Ishikawa
parent
5b678ab12e
commit
34baf47307
@@ -68,7 +68,7 @@
|
||||
int posix_openpt(int oflag)
|
||||
{
|
||||
#ifdef CONFIG_PSEUDOTERM_SUSV1
|
||||
return open("dev/ptmx", oflag);
|
||||
return open("/dev/ptmx", oflag);
|
||||
#else
|
||||
int minor;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user