aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--text2pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text2pcap.c b/text2pcap.c
index 3f002fd86c..bf16e150c5 100644
--- a/text2pcap.c
+++ b/text2pcap.c
@@ -972,7 +972,7 @@ write_file_trailer (void)
0,
0,
num_packets_written,
- num_packets_written - num_packets_written,
+ 0,
&err);
} else {