Changeset 03cbfec
- Timestamp:
- 09/05/05 14:25:00 (15 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:
- 084d95a
- Parents:
- 464266d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_erf.c
r464266d r03cbfec 618 618 int numbytes = 0; 619 619 #if HAVE_ZLIB 620 if ((numbytes = gzwrite(OUTPUT.file, erfptr, sizeof(dag_record_t))) == 0) {620 if ((numbytes = gzwrite(OUTPUT.file, erfptr, dag_record_size + 2)) == 0) { 621 621 perror("gzwrite"); 622 622 return -1; … … 627 627 } 628 628 #else 629 if ((numbytes = write(OUTPUT.file, erfptr, sizeof(dag_record_t))) == 0) {629 if ((numbytes = write(OUTPUT.file, erfptr, dag_record_size + 2)) == 0) { 630 630 perror("write"); 631 631 return -1;
Note: See TracChangeset
for help on using the changeset viewer.