forked from osmocom/wireshark
Use fprintf_stderr() instead of printf() so "wireshark -D" works (on Windows).
svn path=/trunk/; revision=36387
This commit is contained in:
parent
d4649392d8
commit
42d40ee494
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue