aboutsummaryrefslogtreecommitdiffstats
path: root/captype.c
diff options
context:
space:
mode:
Diffstat (limited to 'captype.c')
-rw-r--r--captype.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/captype.c b/captype.c
index 1c4528e27b..3062fb1122 100644
--- a/captype.c
+++ b/captype.c
@@ -91,7 +91,7 @@ failure_message(const char *msg_format _U_, va_list ap _U_)
int
main(int argc, char *argv[])
{
- wftap *wth;
+ wtap *wth;
int err;
gchar *err_info;
int i;
@@ -145,8 +145,8 @@ main(int argc, char *argv[])
wth = wtap_open_offline(argv[i], WTAP_TYPE_AUTO, &err, &err_info, FALSE);
if(wth) {
- printf("%s: %s\n", argv[i], wtap_file_type_subtype_short_string(wftap_file_type_subtype(wth)));
- wftap_close(wth);
+ printf("%s: %s\n", argv[i], wtap_file_type_subtype_short_string(wtap_file_type_subtype(wth)));
+ wtap_close(wth);
} else {
if (err == WTAP_ERR_FILE_UNKNOWN_FORMAT)
printf("%s: unknown\n", argv[i]);