summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-11-29 16:20:40 +0000
committerVincent Sanders <vince@kyllikki.org>2014-11-29 16:20:40 +0000
commitb662aee6b4a7743ba9ea904ff307ae9d3497bc2d (patch)
tree7e656a453c4a23b3a2aa619bc27ff02c3d6fa85b /src
parent2b03e4ea2f63bff82fb7caae455533bb9045bfbf (diff)
downloadlibnsutils-b662aee6b4a7743ba9ea904ff307ae9d3497bc2d.tar.gz
libnsutils-b662aee6b4a7743ba9ea904ff307ae9d3497bc2d.tar.bz2
Improve and document exact behaviour of the returned value.
Diffstat (limited to 'src')
-rw-r--r--src/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/time.c b/src/time.c
index 5ea1d3f..736c982 100644
--- a/src/time.c
+++ b/src/time.c
@@ -69,8 +69,8 @@ nsuerror nsu_getmonotonic_ms(uint64_t *current_out)
*current_out = current;
prev = current;
} else {
- /** \todo is 10ms really correct or can we calculate a delta going forwards? */
- prev += 10;
+ /** \todo is 1ms really correct or can we calculate a delta going forwards? */
+ prev += 1;
*current_out = prev;
}
return NSUERROR_OK;