aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'text2pcap.c')
-rw-r--r--text2pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text2pcap.c b/text2pcap.c
index b96115f494..b62352e12e 100644
--- a/text2pcap.c
+++ b/text2pcap.c
@@ -876,7 +876,7 @@ write_file_header (void)
char *comment;
GPtrArray *comments;
- comment = g_strdup_printf("Generated from input file %s.", input_filename);
+ comment = ws_strdup_printf("Generated from input file %s.", input_filename);
comments = g_ptr_array_new_with_free_func(g_free);
g_ptr_array_add(comments, comment);
success = pcapng_write_section_header_block(output_file,