diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-05-17 18:40:23 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-05-17 18:40:23 +0000 |
commit | 991c5e9898d057f6b7d2f41397f460931ef5ff83 (patch) | |
tree | 95c2cc5755ba14006af226237a6f07eebd5f7e2c /tshark.c | |
parent | 01c752e5efd10bdc5ca280d5e03dd19be466d9cb (diff) | |
download | wireshark-991c5e9898d057f6b7d2f41397f460931ef5ff83.tar.gz wireshark-991c5e9898d057f6b7d2f41397f460931ef5ff83.tar.bz2 wireshark-991c5e9898d057f6b7d2f41397f460931ef5ff83.zip |
When dumpcap is run to get an interface list, interface capabilities, or
interface statistics, have its error messages come out as sync-pipe
errors, have it send a sync-pipe "success" message on success, and have
the callers get that message and display it.
svn path=/trunk/; revision=32843
Diffstat (limited to 'tshark.c')
-rw-r--r-- | tshark.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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); } |