diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-03-28 22:10:41 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-03-28 22:10:41 +0000 |
commit | 42d40ee494a6b3825b6212535c50b0c96234dbda (patch) | |
tree | 2b34b23fb0484fb465547419b30394aefddff77a /capture_opts.c | |
parent | d4649392d81c27688f89acea1e5d80c554536421 (diff) |
Use fprintf_stderr() instead of printf() so "wireshark -D" works (on Windows).
svn path=/trunk/; revision=36387
Diffstat (limited to 'capture_opts.c')
-rw-r--r-- | capture_opts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/capture_opts.c b/capture_opts.c index 9ca76427c2..c13adb5ec0 100644 --- a/capture_opts.c +++ b/capture_opts.c @@ -587,12 +587,12 @@ capture_opts_print_interfaces(GList *if_list) for (if_entry = g_list_first(if_list); if_entry != NULL; if_entry = g_list_next(if_entry)) { if_info = (if_info_t *)if_entry->data; - printf("%d. %s", i++, if_info->name); + fprintf_stderr("%d. %s", i++, if_info->name); /* Print the description if it exists */ if (if_info->description != NULL) - printf(" (%s)", if_info->description); - printf("\n"); + fprintf_stderr(" (%s)", if_info->description); + fprintf_stderr("\n"); } } |