summaryrefslogtreecommitdiff
path: root/editcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-06-02 19:38:11 -0700
committerGuy Harris <guy@alum.mit.edu>2017-06-03 02:38:48 +0000
commitae409ed545efd297d69378a6a612bfe2baa8c924 (patch)
treeab26ceaad8bc79306b1e5e55c75962ef9c7c744e /editcap.c
parenta27a308fcc84f3ea8745181c1c3f0b5def8c40ba (diff)
downloadwireshark-ae409ed545efd297d69378a6a612bfe2baa8c924.tar.gz
Pass the file type, not the frame type, to cfile_dump_open_failure_message().
Change-Id: I3c5e73d4e13106891001dfccd1568148a06329b4 Reviewed-on: https://code.wireshark.org/review/21909 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'editcap.c')
-rw-r--r--editcap.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/editcap.c b/editcap.c
index f0564b5267..34a5b3dd82 100644
--- a/editcap.c
+++ b/editcap.c
@@ -1424,7 +1424,8 @@ main(int argc, char *argv[])
if (pdh == NULL) {
cfile_dump_open_failure_message("editcap", filename,
- write_err, out_frame_type);
+ write_err,
+ out_file_type_subtype);
ret = INVALID_FILE;
goto clean_exit;
}
@@ -1466,7 +1467,7 @@ main(int argc, char *argv[])
if (pdh == NULL) {
cfile_dump_open_failure_message("editcap", filename,
write_err,
- out_frame_type);
+ out_file_type_subtype);
ret = INVALID_FILE;
goto clean_exit;
}
@@ -1496,7 +1497,7 @@ main(int argc, char *argv[])
if (pdh == NULL) {
cfile_dump_open_failure_message("editcap", filename,
write_err,
- out_frame_type);
+ out_file_type_subtype);
ret = INVALID_FILE;
goto clean_exit;
}
@@ -1810,7 +1811,7 @@ main(int argc, char *argv[])
if (pdh == NULL) {
cfile_dump_open_failure_message("editcap", filename,
write_err,
- out_frame_type);
+ out_file_type_subtype);
ret = INVALID_FILE;
goto clean_exit;
}