diff --git a/lib/libc/stdlib/grantpt.c b/lib/libc/stdlib/grantpt.c index 1f79211e4db..f6f31b26130 100644 --- a/lib/libc/stdlib/grantpt.c +++ b/lib/libc/stdlib/grantpt.c @@ -58,7 +58,7 @@ __FBSDID("$FreeBSD$"); #define PTM_PREFIX "pty" /* pseudo tty master naming convention */ #define PTS_PREFIX "tty" /* pseudo tty slave naming convention */ -#define NEWPTS_PREFIX "pts/" +#define NEWPTS_PREFIX "pts" #define PTMX "ptmx" /*