commit | 9ba1051fbe2938228ee53df29327aecb0872fc35 | [log] [tgz] |
---|---|---|
author | Takeshi Misawa <jeantsuru@iCloud.com> | Sat Sep 19 07:35:53 2015 +0000 |
committer | Cyril Hrubis <chrubis@suse.cz> | Thu Sep 24 16:25:39 2015 +0200 |
tree | e64159e0c5235344213ca87d205229ba7b66a2c1 | |
parent | fce75e60012332f0475e0bd754dc69bbd221a968 [diff] |
settimeofday01: fix for linux kernel >= 4.2 In linux 4.2 new check has been added to do_settimeofday64(). As a result, one can't set the CLOCK_REALTIME time prior to (1970 + system uptime). e1d7ba8735551ed79c7a0463a042353574b96da3 "time: Always make sure wall_to_monotonic isn't positive" To fix this, change argument of settimeofday form 100s100ms to gettimeofday() + 100s100ms. Signed-off-by: Takeshi Misawa <jeantsuru@iCloud.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>