X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fpython.c;h=0dae99d8242f69804a2c2b3e1ffee2e96b132aa9;hb=1d888f3f3a131f8eb2d9e0884665b6951ecee550;hp=5274262bbd6b5826ca40b8ec6940a20a7ea297cb;hpb=6f4f918d4d5e70c75471632254ecb9c55fd8d62f;p=collectd.git diff --git a/src/python.c b/src/python.c index 5274262b..0dae99d8 100644 --- a/src/python.c +++ b/src/python.c @@ -1020,7 +1020,8 @@ static int cpy_init(void) { ERROR("python: Unable to create pipe."); return 1; } - if (plugin_thread_create(&thread, NULL, cpy_interactive, pipefd + 1)) { + if (plugin_thread_create(&thread, NULL, cpy_interactive, pipefd + 1, + "python interpreter")) { ERROR("python: Error creating thread for interactive interpreter."); } if(read(pipefd[0], &buf, 1))