summaryrefslogtreecommitdiffstats
path: root/tests/monotonic-system.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-09-20 01:09:32 +0000
committerTavian Barnes <tavianator@gmail.com>2009-09-20 01:09:32 +0000
commit1a2471411605302574df89cc82d7a3b4da0b2005 (patch)
tree513a5641f9201e2a7d374ba9ec927547f11b5732 /tests/monotonic-system.c
parentab843ae81eb445d94ed6821e45df8a782d2886e6 (diff)
downloadlibsandglass-1a2471411605302574df89cc82d7a3b4da0b2005.tar.xz
Use .11111s instead of .1s in tests to illustrate precision.
Diffstat (limited to 'tests/monotonic-system.c')
-rw-r--r--tests/monotonic-system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/monotonic-system.c b/tests/monotonic-system.c
index 3c8e9be..e36c6c9 100644
--- a/tests/monotonic-system.c
+++ b/tests/monotonic-system.c
@@ -30,7 +30,7 @@ main()
{
sandglass_t sandglass;
sandglass_attributes_t attr = { SANDGLASS_MONOTONIC, SANDGLASS_SYSTEM };
- struct timespec tosleep = { .tv_sec = 0, .tv_nsec = 100000000L };
+ struct timespec tosleep = { .tv_sec = 0, .tv_nsec = 111111111L };
if (sandglass_create(&sandglass, &attr, &attr) != 0) {
perror("sandglass_create()");