aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-03-11 11:22:06 +0000
committerCorinna Vinschen <corinna@vinschen.de>2011-03-11 11:22:06 +0000
commit66bdef61f6d8652e2a1670654abc2457c00032bf (patch)
tree4e662319b963da75a58bbd1c54c86c1e4df39a1b
parent8fca449039f09817c804595d522eebae974d20ea (diff)
downloadnewlib-66bdef61f6d8652e2a1670654abc2457c00032bf.zip
newlib-66bdef61f6d8652e2a1670654abc2457c00032bf.tar.gz
newlib-66bdef61f6d8652e2a1670654abc2457c00032bf.tar.bz2
* times.cc (hires_ms::timeGetTime_ns): Fix typo in comment.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/times.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 0fa7975..24e07bb 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2011-03-11 Corinna Vinschen <corinna@vinschen.de>
+ * times.cc (hires_ms::timeGetTime_ns): Fix typo in comment.
+
+2011-03-11 Corinna Vinschen <corinna@vinschen.de>
+
* times.cc (hires_ms::timeGetTime_ns): Document entire functionality
of timeGetTime in case we need it.
diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc
index a1b6a61..a5372e8 100644
--- a/winsup/cygwin/times.cc
+++ b/winsup/cygwin/times.cc
@@ -697,7 +697,7 @@ hires_ms::timeGetTime_ns ()
- timeGetTime computes its return value in the loop as below, but then:
t.QuadPart -= int_time_start.QuadPart;
- t.Loawart /= 10000;
+ t.LowPart /= 10000;
t.LowPart += tick_count_start;
return t.LowPart;
*/