summaryrefslogtreecommitdiffstats
path: root/lib/grammar_sandbox_main.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-06-15 22:17:44 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-06-30 01:40:56 +0200
commit972a411ccc1c15ffe52862477653ab877d0afcd6 (patch)
tree220e742bd6e28032752762e1be70a2aed90840ef /lib/grammar_sandbox_main.c
parentlib: make `show thread...` commands mt-aware (diff)
downloadfrr-972a411ccc1c15ffe52862477653ab877d0afcd6.tar.xz
frr-972a411ccc1c15ffe52862477653ab877d0afcd6.zip
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 'lib/grammar_sandbox_main.c')
-rw-r--r--lib/grammar_sandbox_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/grammar_sandbox_main.c b/lib/grammar_sandbox_main.c
index 3bf0e268c..02aefd603 100644
--- a/lib/grammar_sandbox_main.c
+++ b/lib/grammar_sandbox_main.c
@@ -38,7 +38,7 @@ int main(int argc, char **argv)
{
struct thread thread;
- master = thread_master_create ();
+ master = thread_master_create(NULL);
openzlog ("grammar_sandbox", "NONE", 0,
LOG_CONS|LOG_NDELAY|LOG_PID, LOG_DAEMON);