diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-09-06 09:45:37 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-09-06 09:45:37 +0000 |
commit | 711f816b22c09fc9fb0947c041e6a95a933930d4 (patch) | |
tree | 7bb742391a2ccdc1189d48daa75ca2fa6376e305 /src/tests/test-switch.c | |
parent | ad8f4725b4d41c652dd414037bec59cc9aa919a4 (diff) | |
download | nsss-711f816b22c09fc9fb0947c041e6a95a933930d4.tar.xz |
Adapt to better stopwatch API
Diffstat (limited to 'src/tests/test-switch.c')
-rw-r--r-- | src/tests/test-switch.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tests/test-switch.c b/src/tests/test-switch.c index 51d76ad..937ec03 100644 --- a/src/tests/test-switch.c +++ b/src/tests/test-switch.c @@ -20,8 +20,7 @@ int main (void) genalloc ga = GENALLOC_ZERO ; tain_t deadline ; PROG = "test-switch" ; - tain_now_set_stopwatch() ; - tain_now_g() ; + tain_now_set_stopwatch_g() ; tain_from_millisecs(&deadline, 10000) ; tain_add_g(&deadline, &deadline) ; |