use in_files->filename
authorAnders Broman <anders.broman@ericsson.com>
Wed, 25 Apr 2012 14:33:06 +0000 (14:33 -0000)
committerAnders Broman <anders.broman@ericsson.com>
Wed, 25 Apr 2012 14:33:06 +0000 (14:33 -0000)
svn path=/trunk/; revision=42233

mergecap.c

index 72b22f32d52836668d2bd3729d5a7056858c6f49..502577a09b40cebe3225a6b7e739a6ccc610b2aa 100644 (file)
@@ -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 */