aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mergecap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mergecap.c b/mergecap.c
index 72b22f32d5..502577a09b 100644
--- a/mergecap.c
+++ b/mergecap.c
@@ -396,7 +396,7 @@ main(int argc, char *argv[])
comment_gstr = g_string_new("File created my merging: \n");
for (i = 0; i < in_file_count; i++) {
- g_string_append_printf(comment_gstr, "File%u: %s \n",i+1,in_files[i]);
+ g_string_append_printf(comment_gstr, "File%u: %s \n",i+1,in_files->filename[i]);
}
shb_hdr->section_length = -1;
/* options */