#ifndef lint
static char *moduleid =
- "@(#)$Header: /home/glen/git/file/cvs/file/src/print.c,v 1.7 1987/10/14 08:36:55 ian Exp $";
+ "@(#)$Header: /home/glen/git/file/cvs/file/src/print.c,v 1.8 1987/11/06 17:26:01 ian Exp $";
#endif /* lint */
#define MAXSTR 500
int myerrno;
myerrno = errno;
- (void) fputs(progname, stderr);
+ if (progname != NULL)
+ (void) fputs(progname, stderr);
(void) putc(':', stderr);
(void) putc(' ', stderr);
(void) fprintf(stderr, f, a);