diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-06-02 19:38:11 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-06-03 02:38:48 +0000 |
commit | ae409ed545efd297d69378a6a612bfe2baa8c924 (patch) | |
tree | ab26ceaad8bc79306b1e5e55c75962ef9c7c744e /editcap.c | |
parent | a27a308fcc84f3ea8745181c1c3f0b5def8c40ba (diff) | |
download | wireshark-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.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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; } |