diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-12-17 12:38:48 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-12-17 20:39:15 +0000 |
commit | db4232a69a0196c7cafab1afae9b2f45f58e4ebe (patch) | |
tree | 79cf360a97e2a9b1d60b9b2702b2da03ccd86474 /capture_info.c | |
parent | e00f5852960163a1427487e3f0df7c7473b53a6d (diff) |
This code is used in Wireshark, not TShark; fix messages.
Change-Id: I3c6b7686de478e42eeeb9c51c8bdb5b6843666af
Reviewed-on: https://code.wireshark.org/review/5814
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'capture_info.c')
-rw-r--r-- | capture_info.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/capture_info.c b/capture_info.c index 516f616f0e..6f45f5489c 100644 --- a/capture_info.c +++ b/capture_info.c @@ -118,13 +118,13 @@ cf_open_error_message(int err, gchar *err_info, gboolean for_writing, case WTAP_ERR_FILE_UNKNOWN_FORMAT: /* Seen only when opening a capture file for reading. */ - errmsg = "The file \"%s\" isn't a capture file in a format TShark understands."; + errmsg = "The file \"%s\" isn't a capture file in a format Wireshark understands."; break; case WTAP_ERR_UNSUPPORTED: /* Seen only when opening a capture file for reading. */ g_snprintf(errmsg_errno, sizeof(errmsg_errno), - "The file \"%%s\" contains record data that TShark doesn't support.\n" + "The file \"%%s\" contains record data that Wireshark doesn't support.\n" "(%s)", err_info); g_free(err_info); errmsg = errmsg_errno; @@ -140,15 +140,15 @@ cf_open_error_message(int err, gchar *err_info, gboolean for_writing, case WTAP_ERR_UNWRITABLE_FILE_TYPE: /* Seen only when opening a capture file for writing. */ - errmsg = "TShark doesn't support writing capture files in that format."; + errmsg = "Wireshark doesn't support writing capture files in that format."; break; case WTAP_ERR_UNWRITABLE_ENCAP: if (for_writing) - errmsg = "TShark can't save this capture in that format."; + errmsg = "Wireshark can't save this capture in that format."; else { g_snprintf(errmsg_errno, sizeof(errmsg_errno), - "The file \"%%s\" is a capture for a network type that TShark doesn't support.\n" + "The file \"%%s\" is a capture for a network type that Wireshark doesn't support.\n" "(%s)", err_info); g_free(err_info); errmsg = errmsg_errno; @@ -157,9 +157,9 @@ cf_open_error_message(int err, gchar *err_info, gboolean for_writing, case WTAP_ERR_ENCAP_PER_PACKET_UNSUPPORTED: if (for_writing) - errmsg = "TShark can't save this capture in that format."; + errmsg = "Wireshark can't save this capture in that format."; else - errmsg = "The file \"%s\" is a capture for a network type that TShark doesn't support."; + errmsg = "The file \"%s\" is a capture for a network type that Wireshark doesn't support."; break; case WTAP_ERR_BAD_FILE: |