summaryrefslogtreecommitdiff
path: root/mysys/my_fopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_fopen.c')
-rw-r--r--mysys/my_fopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_fopen.c b/mysys/my_fopen.c
index 0bb431dd560..c720e2c9168 100644
--- a/mysys/my_fopen.c
+++ b/mysys/my_fopen.c
@@ -142,7 +142,7 @@ static int no_close(void *cookie __attribute__((unused)))
/*
A hack around a race condition in the implementation of freopen.
- The race condition steams from the fact that the current fd of
+ The race condition stems from the fact that the current fd of
the stream is closed before its number is used to duplicate the
new file descriptor. This defeats the desired atomicity of the
close and duplicate of dup2().