Commit 931e73d5 authored by Thomas Guillem's avatar Thomas Guillem

std_logger: fix warning

parent ecb66270
......@@ -167,7 +167,7 @@ std_logger_Close(std_logger *sys)
{
if (sys->stop_pipe[1] != -1)
{
write(sys->stop_pipe[1], '\0', 1);
write(sys->stop_pipe[1], "\0", 1);
close(sys->stop_pipe[1]);
sys->stop_pipe[1] = -1;
pthread_join(sys->thread, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment