Changeset 8339 for trunk/ppStats/src
- Timestamp:
- Aug 14, 2006, 5:17:36 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ppStats/src/ppStatsStandAlone.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStats/src/ppStatsStandAlone.c
r8337 r8339 29 29 outFile = fopen(outName, "w"); 30 30 if (!outFile) { 31 ps Error(PS_ERR_IO, false, "Unable to open output file %s\n", outName);31 psLogMsg("ppStats", PS_LOG_ERROR, "Unable to open output file %s\n", outName); 32 32 status = EXIT_FAILURE; 33 33 goto die; 34 34 } 35 35 } else { 36 ps Error(PS_ERR_IO, false, "Unable to open output file.\n");36 psLogMsg("ppStats", PS_LOG_ERROR, "Unable to open output file.\n"); 37 37 status = EXIT_FAILURE; 38 38 goto die; … … 44 44 45 45 if (psListLength(results->list) == 0) { 46 ps Error(PS_ERR_UNKNOWN, true, "No output.\n");46 psLogMsg("ppStats", PS_LOG_ERROR, "No output.\n"); 47 47 psFree(results); 48 48 status = EXIT_FAILURE; … … 53 53 psString output = psMetadataConfigFormat(results); 54 54 if (!output) { 55 ps Error(PS_ERR_UNKNOWN, false, "Unable to generate configuration file with result.\n");55 psLogMsg("ppStats", PS_LOG_ERROR, "Unable to generate configuration file with result.\n"); 56 56 psFree(results); 57 57 status = EXIT_FAILURE;
Note:
See TracChangeset
for help on using the changeset viewer.
