summaryrefslogtreecommitdiff
path: root/capture_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'capture_info.c')
-rw-r--r--capture_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capture_info.c b/capture_info.c
index 0856cee2f6..48102d9474 100644
--- a/capture_info.c
+++ b/capture_info.c
@@ -160,7 +160,7 @@ cf_open_error_message(int err, gchar *err_info, gboolean for_writing,
errmsg = "The file \"%s\" is a capture for a network type that TShark doesn't support.";
break;
- case WTAP_ERR_BAD_RECORD:
+ case WTAP_ERR_BAD_FILE:
/* Seen only when opening a capture file for reading. */
g_snprintf(errmsg_errno, sizeof(errmsg_errno),
"The file \"%%s\" appears to be damaged or corrupt.\n"