diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/times.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 30fde01e3..e9a13f3d7 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2012-03-28 Corinna Vinschen <corinna@vinschen.de> + + * times.cc (clock_setres): Set minperiod to period. + 2012-03-27 Corinna Vinschen <corinna@vinschen.de> * fhandler_process.cc (process_tab): Add entry for mountinfo. diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc index a94911b08..e694d6875 100644 --- a/winsup/cygwin/times.cc +++ b/winsup/cygwin/times.cc @@ -823,7 +823,7 @@ clock_setres (clockid_t clk_id, struct timespec *tp) __seterrno_from_nt_status (status); return -1; } - minperiod = actual; + minperiod = period; period_set = true; return 0; } |