--- ray/src/px/ra_skel.c 1993/10/27 09:37:35 2.7 +++ ray/src/px/ra_skel.c 1994/04/05 14:10:52 2.10 @@ -8,7 +8,7 @@ static char SCCSid[] = "$SunId$ LBL"; * Skeletal 24-bit image conversion program. Replace "skel" * in this file with a more appropriate image type identifier. * - * The Makefile entry should look something like this: + * The Rmakefile entry should look something like this: * ra_skel: ra_skel.o * cc $(CFLAGS) -o ra_skel ra_skel.o -lrt -lm * ra_skel.o: ../common/color.h ../common/resolu.h @@ -74,7 +74,7 @@ char *argv[]; exit(1); } if (i == argc-2 && freopen(argv[i+1], "w", stdout) == NULL) { - fprintf(stderr, "can't open output \"%s\"\n", + fprintf(stderr, "%s: can't open output \"%s\"\n", progname, argv[i+1]); exit(1); } @@ -87,6 +87,7 @@ char *argv[]; /* get their image resolution */ read_skel_head(&xmax, &ymax); /* put our header */ + newheader("RADIANCE", stdout); printargs(i, argv, stdout); fputformat(COLRFMT, stdout); putchar('\n');