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]> diff --git a/tools/cldcli.c b/tools/cldcli.c index 674acd9..3c35263 100644 --- a/tools/cldcli.c +++ b/tools/cldcli.c @@ -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); -- To unsubscribe from this list: send the line "unsubscribe hail-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
