Change error return to -1 to match manual page. Shouldn't affect anything --
[unix-history] / usr / src / lib / libc / stdio / printf.c
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)printf.c 5.2 (Berkeley) %G%";
#endif LIBC_SCCS and not lint
#include <stdio.h>
printf(fmt, args)
char *fmt;
{
_doprnt(fmt, &args, stdout);
return(ferror(stdout)? EOF: 0);
}