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

Comparing ray/src/hd/rholo.c (file contents):
Revision 3.38 by gwlarson, Wed Jan 28 12:32:50 1998 UTC vs.
Revision 3.39 by gwlarson, Thu May 14 13:05:27 1998 UTC

# Line 453 | Line 453 | loadholo()                     /* start loading a holodeck from fname */
453          int4    nextloc;
454                                          /* open holodeck file */
455          if ((fp = fopen(hdkfile, ncprocs>0 ? "r+" : "r")) == NULL) {
456 <                sprintf(errmsg, "cannot open \"%s\" for %s", hdkfile,
457 <                                ncprocs>0 ? "appending" : "reading");
456 >                sprintf(errmsg, "cannot %s \"%s\"",
457 >                                ncprocs>0 ? "append" : "read", hdkfile);
458                  error(SYSTEM, errmsg);
459          }
460                                          /* load variables from header */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines