Skip to content

Commit

Permalink
Merge pull request #2771 from labman000/3.2
Browse files Browse the repository at this point in the history
fix tracer.c "dest port" print error
  • Loading branch information
razvancrainea committed Mar 9, 2022
2 parents 2d5e755 + 54d44b0 commit d587d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tracer/tracer.c
Expand Up @@ -1187,7 +1187,7 @@ static inline int trace_write_file(int fd, char *path,
v[3].iov_base = time_buf;
v[3].iov_len = strlen(v[3].iov_base);
v[6].iov_base = int2str(db_vals[6].val.int_val, (int *)&v[6].iov_len);
v[11].iov_base = int2str(db_vals[9].val.int_val, (int *)&v[10].iov_len);
v[10].iov_base = int2str(db_vals[9].val.int_val, (int *)&v[10].iov_len);

if (fd < 0) {
fd = open(path, O_RDWR|O_APPEND|O_CREAT, trace_file_mode);
Expand Down

0 comments on commit d587d89

Please sign in to comment.