From fb4a99251a9b4f7df26ee75d35c49c5a577986aa Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Mon, 13 Nov 2000 05:14:21 +0000 Subject: [PATCH] fputs() does return EOF on error but here we don't care. p4raw-id: //depot/perl@7670 --- perlio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } } -- 2.7.4