ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/pflip.c
(Generate patch)

Comparing ray/src/px/pflip.c (file contents):
Revision 2.8 by schorsch, Sun Mar 28 20:33:14 2004 UTC vs.
Revision 2.9 by greg, Tue Aug 8 18:04:41 2006 UTC

# Line 76 | Line 76 | main(
76                  exit(1);
77          }
78          if ((fin = fopen(argv[i], "r")) == NULL) {
79 <                fprintf(stderr, "%s: cannot open\n", argv[1]);
79 >                fprintf(stderr, "%s: cannot open\n", argv[i]);
80                  exit(1);
81          }
82          if (i < argc-1 && freopen(argv[i+1], "w", stdout) == NULL) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines