summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2016-06-08 11:02:50 +0200
committerCorinna Vinschen <corinna@vinschen.de>2016-06-08 11:02:50 +0200
commitb1f63ce874de0c00ba8764f9c7967cf467a236b4 (patch)
treed209eab79f0a42d9534e95f8bec1aa189b4f8dd3
parentffac52c1ab65ac733a22876178e0b6925403feab (diff)
downloadcygnal-b1f63ce874de0c00ba8764f9c7967cf467a236b4.tar.gz
cygnal-b1f63ce874de0c00ba8764f9c7967cf467a236b4.tar.bz2
cygnal-b1f63ce874de0c00ba8764f9c7967cf467a236b4.zip
Fix typos in comments and debug output in select_stuff::wait
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r--winsup/cygwin/select.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc
index 2329021cb..8ea02f541 100644
--- a/winsup/cygwin/select.cc
+++ b/winsup/cygwin/select.cc
@@ -375,10 +375,10 @@ select_stuff::wait (fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
next_while:;
}
- /* Optionally create and set a waitable timer, if a finite timeout has
+ /* Optionally create and set a waitable timer if a finite timeout has
been requested. Recycle cw_timer in the cygtls area so we only have
to create the timer once per thread. Since WFMO checks the handles
- in order, we appand the timer as last object, otherwise it's preferred
+ in order, we append the timer as last object, otherwise it's preferred
over actual events on the descriptors. */
HANDLE &wait_timer = _my_tls.locals.cw_timer;
if (us > 0LL)
@@ -399,7 +399,7 @@ next_while:;
0, NULL);
if (!NT_SUCCESS (status))
{
- select_printf ("%y = NtSetTimer (%Y)\n",
+ select_printf ("%y = NtSetTimer (%D)\n",
status, ms_clock_ticks.QuadPart);
return select_error;
}