From 129d4752a0fcbfcba65cff88e2db855d2220c949 Mon Sep 17 00:00:00 2001 From: Alexander Kabaev Date: Mon, 13 Feb 2006 00:04:04 +0000 Subject: [PATCH] Remove extra slash from pty slave device name returned by ptsname. --- lib/libc/stdlib/grantpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" /*