Changeset 11454
- Timestamp:
- Jan 30, 2007, 3:34:58 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImage.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImage.c
r10215 r11454 18 18 if (config == NULL) { 19 19 psErrorStackPrint(stderr, "Unable to parse command-line arguments."); 20 exit( 1);20 exit(PS_EXIT_CONFIG_ERROR); 21 21 } 22 22 … … 26 26 if (options == NULL) { 27 27 psErrorStackPrint(stderr, "Unable to parse camera."); 28 exit( 1);28 exit(PS_EXIT_CONFIG_ERROR); 29 29 } 30 30 … … 32 32 if (!ppImageLoop(config, options)) { 33 33 psErrorStackPrint(stderr, "Unable to loop over input"); 34 exit( 1);34 exit(PS_EXIT_SYS_ERROR); 35 35 } 36 36 … … 40 40 ppImageCleanup(config, options); 41 41 42 return EXIT_SUCCESS;42 return PS_EXIT_SUCCESS; 43 43 } 44 44
Note:
See TracChangeset
for help on using the changeset viewer.
