summaryrefslogtreecommitdiffstats
path: root/term-utils/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'term-utils/script.c')
-rw-r--r--term-utils/script.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/term-utils/script.c b/term-utils/script.c
index f5b2300be..fcb583584 100644
--- a/term-utils/script.c
+++ b/term-utils/script.c
@@ -287,9 +287,9 @@ static void wait_for_empty_fd(int fd)
}
/*
- * The script(1) is usually faster than shell, so it's good idea to wait until
- * the previous message is has been already read by shell from slave before we
- * wrate to master. This is necessary especially for EOF situation when we can
+ * The script(1) is usually faster than shell, so it's a good idea to wait until
+ * the previous message has been already read by shell from slave before we
+ * write to master. This is necessary especially for EOF situation when we can
* send EOF to master before shell is fully initialized, to workaround this
* problem we wait until slave is empty. For example:
*