aboutsummaryrefslogtreecommitdiffstats
path: root/captype.c
diff options
context:
space:
mode:
Diffstat (limited to 'captype.c')
-rw-r--r--captype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/captype.c b/captype.c
index 6dd1769ac2..6f6cac0242 100644
--- a/captype.c
+++ b/captype.c
@@ -257,7 +257,7 @@ main(int argc, char *argv[])
switch (err) {
case WTAP_ERR_UNSUPPORTED:
- case WTAP_ERR_UNSUPPORTED_ENCAP:
+ case WTAP_ERR_UNWRITABLE_ENCAP:
case WTAP_ERR_BAD_FILE:
fprintf(stderr, "(%s)\n", err_info);
g_free(err_info);