aboutsummaryrefslogtreecommitdiffstats
path: root/tethereal.c
diff options
context:
space:
mode:
Diffstat (limited to 'tethereal.c')
-rw-r--r--tethereal.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tethereal.c b/tethereal.c
index 148e43cdaf..b520812361 100644
--- a/tethereal.c
+++ b/tethereal.c
@@ -1367,7 +1367,12 @@ main(int argc, char *argv[])
#ifdef _WIN32
if (!has_wpcap) {
- fprintf(stderr, "tethereal: Could not load wpcap.dll.\n");
+ char *detailed_err;
+
+ fprintf(stderr, "tethereal: WinPcap couldn't be found.\n");
+ detailed_err = cant_load_winpcap_err("Tethereal");
+ fprintf(stderr, "%s\n", detailed_err);
+ g_free(detailed_err);
exit(2);
}
#endif