Changeset d0cae69
- Timestamp:
- 06/27/13 14:09:28 (8 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- f5b5cca
- Parents:
- b8826aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/tracertstats/tracertstats.c
rb8826aa rd0cae69 61 61 #endif 62 62 63 #define DEFAULT_OUTPUT_FMT "txt" 64 63 65 struct libtrace_t *trace; 64 66 char *output_format=NULL; … … 99 101 int i; 100 102 101 output=output_init(title,output_format?output_format: "txt");103 output=output_init(title,output_format?output_format:DEFAULT_OUTPUT_FMT); 102 104 if (!output) { 103 105 fprintf(stderr,"Failed to create output file\n"); … … 276 278 return 0; 277 279 278 fprintf(stderr,"output format: '%s'\n",output_format); 280 if (output_format) 281 fprintf(stderr,"output format: '%s'\n",output_format); 282 else 283 fprintf(stderr,"output format: '%s'\n", DEFAULT_OUTPUT_FMT); 279 284 280 285
Note: See TracChangeset
for help on using the changeset viewer.