265 |
|
progname, np); |
266 |
|
#endif |
267 |
|
bzero(pb+6*np, 6*sizeof(float)); |
268 |
< |
if (process(rt_pd, pb, pb, 3*sizeof(float)*np, |
269 |
< |
6*sizeof(float)*(np+1)) < 3*sizeof(float)*np) { |
268 |
> |
if (process(rt_pd, pb, pb, 3*sizeof(float)*(np+1), |
269 |
> |
6*sizeof(float)*(np+1)) < 3*sizeof(float)*(np+1)) { |
270 |
|
fprintf(stderr, "%s: rtrace communication error\n", |
271 |
|
progname); |
272 |
|
exit(1); |
292 |
|
char *fn; |
293 |
|
{ |
294 |
|
if ((pictfp = fopen(fn, "r")) == NULL) { |
295 |
< |
fprintf("%s: cannot open\n", fn); |
295 |
> |
fprintf(stderr, "%s: cannot open\n", fn); |
296 |
|
exit(1); |
297 |
|
} |
298 |
|
exposure = 1.0; |