aboutsummaryrefslogtreecommitdiffstats
path: root/ext/pty
diff options
context:
space:
mode:
authorMarcus Stollsteimer <sto.mar@web.de>2021-01-05 15:13:53 +0100
committerMarcus Stollsteimer <sto.mar@web.de>2021-01-05 15:13:53 +0100
commit3108ad7bf3dcae52054a1c29b86246cdb470000b (patch)
tree48879bbd126fe3c3ee37f714130abe7c4a2de49a /ext/pty
parent3d439447250f19333418adcdf777142dda4b3364 (diff)
downloadruby-3108ad7bf3dcae52054a1c29b86246cdb470000b.tar.gz
[DOC] Fix grammar: "is same as" -> "is the same as"
Diffstat (limited to 'ext/pty')
-rw-r--r--ext/pty/pty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c
index e53871ede5..d927adc560 100644
--- a/ext/pty/pty.c
+++ b/ext/pty/pty.c
@@ -271,7 +271,7 @@ get_device_once(int *master, int *slave, char SlaveName[DEVICELEN], int nomesg,
int flags = O_RDWR|O_NOCTTY;
# if defined(O_CLOEXEC)
/* glibc posix_openpt() in GNU/Linux calls open("/dev/ptmx", flags) internally.
- * So version dependency on GNU/Linux is same as O_CLOEXEC with open().
+ * So version dependency on GNU/Linux is the same as O_CLOEXEC with open().
* O_CLOEXEC is available since Linux 2.6.23. Linux 2.6.18 silently ignore it. */
flags |= O_CLOEXEC;
# endif