summaryrefslogtreecommitdiff
path: root/tests/lib/test_timer_correctness.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-06-15 20:17:44 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-06-29 23:40:56 +0000
commit972a411ccc1c15ffe52862477653ab877d0afcd6 (patch)
tree220e742bd6e28032752762e1be70a2aed90840ef /tests/lib/test_timer_correctness.c
parent62f44022399236ec619a6ebedd3bd6e11765fafd (diff)
lib: more `show thread cpu`
Add support for naming pthreads. Also, note that we don't have any records yet if that's the case. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'tests/lib/test_timer_correctness.c')
-rw-r--r--tests/lib/test_timer_correctness.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/test_timer_correctness.c b/tests/lib/test_timer_correctness.c
index 10461be1ef..8fbe5bcbd7 100644
--- a/tests/lib/test_timer_correctness.c
+++ b/tests/lib/test_timer_correctness.c
@@ -115,7 +115,7 @@ int main(int argc, char **argv)
struct thread t;
struct timeval **alarms;
- master = thread_master_create();
+ master = thread_master_create(NULL);
log_buf_len = SCHEDULE_TIMERS * (TIMESTR_LEN + 1) + 1;
log_buf_pos = 0;