cldcli: suppress a warning
PATCH 4/4 cldcli: suppress a warning
We don't want to use printf("%s", mem), because mem may contain something other than simple text.
Signed-off-by Pete Zaitcev <[email protected]>
tools/cldcli.c +1 -1
@@ -712,7 +712,7 @@ static void cmd_cat(const char *arg)read_from_thread (mem, len);/* write file data to stdout */ -fwrite (mem, len,1 , stdout); + (void )fwrite (mem, len,1 , stdout);fprintf (stdout,"\n" );free (mem);