summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2006-02-13 00:04:04 +0000
committerkan <kan@FreeBSD.org>2006-02-13 00:04:04 +0000
commitb1ec9081867de5a8647ad21e9dfa3838f849810e (patch)
treec152fd5dc79ffe9f249195f3829f7d2ab8d13d1d /lib
parent8008381bf8a6d6557e8c31f4c152d03109bd3aff (diff)
downloadFreeBSD-src-b1ec9081867de5a8647ad21e9dfa3838f849810e.zip
FreeBSD-src-b1ec9081867de5a8647ad21e9dfa3838f849810e.tar.gz
Remove extra slash from pty slave device name returned by ptsname.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/grantpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdlib/grantpt.c b/lib/libc/stdlib/grantpt.c
index 1f79211..f6f31b2 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"
/*
OpenPOWER on IntegriCloud