On 27/09/14 03:13, Christopher Li wrote: > Compile-i386 is pretty much not maintained any more. > > On Tue, Aug 5, 2014 at 2:36 AM, Ramsay Jones <ramsay@xxxxxxxxxxxxxxxxxxx> wrote: >> >> - write(STDOUT_FILENO, s, strlen(s)); >> + printf("%s", s); > > This change fix nothing. "printf" can return how many bytes it is written. > In the case that "write" can fail, "printf" can fail as well. e.g. disk full. > This patch did not check the return value from printf either. I was only really fixing the compiler warning (in an side-ways fashion). (although I think it is an improvement). If this is no longer being maintained, perhaps a patch to remove it would be better? ATB, Ramsay Jones -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html