aboutsummaryrefslogtreecommitdiffstats
path: root/reordercap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-04-20 10:14:50 -0700
committerGuy Harris <guy@alum.mit.edu>2017-04-20 17:15:22 +0000
commitd09ef614598cf6b714059f39191f09af5701bc93 (patch)
tree6bb48a24b8fac1968de5f733dd684be795fc910e /reordercap.c
parent46f0c351a902284923a0d16bc394ceb91ebc8453 (diff)
Make the command-line and alert-box failure messages more similar.
Change-Id: I94af221a0ce8b6b3ff8e0e1b94d5379351ac0962 Reviewed-on: https://code.wireshark.org/review/21251 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'reordercap.c')
-rw-r--r--reordercap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/reordercap.c b/reordercap.c
index 7b44527ece..a66f928fbc 100644
--- a/reordercap.c
+++ b/reordercap.c
@@ -123,8 +123,9 @@ frame_write(FrameRecord_t *frame, wtap *wth, wtap_dumper *pdh,
/* Dump frame to outfile */
if (!wtap_dump(pdh, phdr, ws_buffer_start_ptr(buf), &err, &err_info)) {
- cfile_write_failure_message(infile, outfile, err, err_info,
- frame->num, wtap_file_type_subtype(wth));
+ cfile_write_failure_message("reordercap", infile, outfile, err,
+ err_info, frame->num,
+ wtap_file_type_subtype(wth));
exit(1);
}
}