--- src/ctrl_telnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/src/ctrl_telnet.c +++ b/src/ctrl_telnet.c @@ -211,7 +211,7 @@ ctrl_telnet_stop (void) } /* yes is int, which is bigger then char, so this should be safe */ - write (ttd.killer[1], &yes, sizeof (char)); + (void)write(ttd.killer[1], &yes, sizeof(char)); pthread_mutex_unlock (&startstop_lock); pthread_join (ttd.thread, NULL);