--- ray/src/px/ra_ppm.c 1993/07/12 12:41:15 2.5 +++ ray/src/px/ra_ppm.c 1993/11/18 09:55:12 2.6 @@ -80,7 +80,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); } @@ -160,7 +160,6 @@ ppm2ra(getscan) /* convert color Pixmap to Radiance p int (*getscan)(); { COLR *scanout; - register int x; int y; /* allocate scanline */ scanout = (COLR *)malloc(xmax*sizeof(COLR));