#ifndef lint
static char *moduleid =
- "@(#)$Header: /home/glen/git/file/cvs/file/src/print.c,v 1.9 1987/11/06 21:29:50 ian Exp $";
+ "@(#)$Header: /home/glen/git/file/cvs/file/src/print.c,v 1.10 1987/11/12 13:00:24 ian Exp $";
#endif /* lint */
#define MAXSTR 500
int myerrno;
myerrno = errno;
- if (progname != NULL)
+ if (progname != NULL) {
(void) fputs(progname, stderr);
- (void) putc(':', stderr);
- (void) putc(' ', stderr);
+ (void) putc(':', stderr);
+ (void) putc(' ', stderr);
+ }
(void) fprintf(stderr, f, a);
if (myerrno > 0 && myerrno < sys_nerr)
(void) fprintf(stderr, " (%s)", sys_errlist[myerrno]);