summaryrefslogtreecommitdiff
path: root/tests/lib/cli/common_cli.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/cli/common_cli.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/cli/common_cli.c')
-rw-r--r--tests/lib/cli/common_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/cli/common_cli.c b/tests/lib/cli/common_cli.c
index 27b28b126f..728ae8cb04 100644
--- a/tests/lib/cli/common_cli.c
+++ b/tests/lib/cli/common_cli.c
@@ -67,7 +67,7 @@ main (int argc, char **argv)
umask (0027);
/* master init. */
- master = thread_master_create ();
+ master = thread_master_create(NULL);
openzlog("common-cli", "NONE", 0, LOG_CONS | LOG_NDELAY | LOG_PID,
LOG_DAEMON);