aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorJohn Bampton <jbampton@users.noreply.github.com>2023-03-01 04:05:30 +1000
committerGitHub <noreply@github.com>2023-02-28 10:05:30 -0800
commitc43fbe4ebd2b519601f0b90ca98fa096799d3846 (patch)
tree08b54264b5fa5ef737c429b10969877239803eeb /io.c
parent966adfb79982436e552a7a65b8124b0a579e40c3 (diff)
downloadruby-c43fbe4ebd2b519601f0b90ca98fa096799d3846.tar.gz
Fix spelling (#7405)
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 76353cb6e0..dcc9d9b038 100644
--- a/io.c
+++ b/io.c
@@ -1838,7 +1838,7 @@ io_allocate_write_buffer(rb_io_t *fptr, int sync)
static inline int
io_binwrite_requires_flush_write(rb_io_t *fptr, long len, int nosync)
{
- // If the requested operation was synchronous and the output mode is synchronus or a TTY:
+ // If the requested operation was synchronous and the output mode is synchronous or a TTY:
if (!nosync && (fptr->mode & (FMODE_SYNC|FMODE_TTY)))
return 1;