From: Jarkko Hietaniemi Date: Mon, 13 Nov 2000 05:14:21 +0000 (+0000) Subject: fputs() does return EOF on error but here we don't care. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fb4a99251a9b4f7df26ee75d35c49c5a577986aa;p=p5sagit%2Fp5-mst-13.2.git fputs() does return EOF on error but here we don't care. p4raw-id: //depot/perl@7670 --- diff --git a/perlio.c b/perlio.c index fa69c44..b828bb2 100644 --- a/perlio.c +++ b/perlio.c @@ -2359,7 +2359,8 @@ PerlIO_vsprintf(char *s, int n, const char *fmt, va_list ap) if (strlen(s) >= (STRLEN)n) { dTHX; - PerlIO_puts(Perl_error_log,"panic: sprintf overflow - memory corrupted!\n"); + (void)PerlIO_puts(Perl_error_log, + "panic: sprintf overflow - memory corrupted!\n"); my_exit(1); } }