summaryrefslogtreecommitdiff
path: root/tshark.c
diff options
context:
space:
mode:
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tshark.c b/tshark.c
index 46d211377d..5533881219 100644
--- a/tshark.c
+++ b/tshark.c
@@ -1646,9 +1646,7 @@ main(int argc, char *argv[])
global_capture_opts.monitor_mode,
&err_str);
if (caps == NULL) {
- cmdarg_err("The list of data link types for the capture device \"%s\" could not be obtained (%s)."
- "Please check to make sure you have sufficient permissions, and that\n"
- "you have the proper interface or pipe specified.\n", global_capture_opts.iface, err_str);
+ cmdarg_err("%s", err_str);
g_free(err_str);
exit(2);
}