aboutsummaryrefslogtreecommitdiffstats
path: root/tfshark.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-11-22 00:28:12 -0800
committerGuy Harris <guy@alum.mit.edu>2014-11-22 08:28:54 +0000
commitc68e77b8447b3323cf308d53d2cf7936714677a1 (patch)
tree28f82150bf84a672fe7524604a9c5d837ed9de49 /tfshark.c
parentb19b12a85daa9ec91537c733d05550f5dfafa0eb (diff)
Pass a capture_file * to write_psml_preamble() in tfshark as well.
Change-Id: I2b2ae78d4b75bb27a44d185b48e3d85794effdb7 Reviewed-on: https://code.wireshark.org/review/5439 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'tfshark.c')
-rw-r--r--tfshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tfshark.c b/tfshark.c
index 04923f8800..2efaad0011 100644
--- a/tfshark.c
+++ b/tfshark.c
@@ -2146,7 +2146,7 @@ write_preamble(capture_file *cf)
if (print_details)
write_pdml_preamble(stdout, cf ? cf->filename : NULL);
else
- write_psml_preamble(stdout);
+ write_psml_preamble(cf, stdout);
return !ferror(stdout);
case WRITE_FIELDS: