comparison c-ray-mt.c @ 3:80a90f221047

correct Typo
author Merten Sach <msach@mailbox.tu-berlin.de>
date Wed, 28 Sep 2011 15:15:52 +0200
parents 75c818c6cad1
children
comparison
equal deleted inserted replaced
2:68071de2692f 3:53bf2b4d6685
242 fputs(usage, stderr); 242 fputs(usage, stderr);
243 return EXIT_FAILURE; 243 return EXIT_FAILURE;
244 } 244 }
245 } 245 }
246 246
247 snprintf(DataSet,255,"file: %s\nsize: %dx%d\nrays per pixel: %d\nthreads: %d\n", 247 snprintf(__DataSet,255,"file: %s\nsize: %dx%d\nrays per pixel: %d\nthreads: %d\n",
248 infile, xres, yres, rays_per_pixel, thread_num); 248 infile, xres, yres, rays_per_pixel, thread_num);
249 249
250 250
251 if(!(pixels = malloc(xres * yres * sizeof *pixels))) { 251 if(!(pixels = malloc(xres * yres * sizeof *pixels))) {
252 perror("pixel buffer allocation failed"); 252 perror("pixel buffer allocation failed");