diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-05-10 16:39:53 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-05-10 16:39:53 +0000 |
commit | 7e9418f687ec5ab701ebf07bc30b8166d893d224 (patch) | |
tree | 98e7f7a2d21976645eb96d8033700272863faaaf /gtk | |
parent | 10ffd14b8f9c052a9d44faaba462ff36f5542f7a (diff) |
Fix a gcc -Wshadow warning.
svn path=/trunk/; revision=32736
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/main.c b/gtk/main.c index d983f13a6a..fbff8f5dba 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -2740,15 +2740,15 @@ main(int argc, char *argv[]) if (list_link_layer_types) { /* Get the list of link-layer types for the capture device. */ GList *lt_list; - gchar *err_str; + gchar *error_string; - lt_list = capture_pcap_linktype_list(global_capture_opts.iface, &err_str); + lt_list = capture_pcap_linktype_list(global_capture_opts.iface, &error_string); if (lt_list == NULL) { - if (err_str != NULL) { + if (error_string != 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); - g_free(err_str); + "you have the proper interface or pipe specified.\n", global_capture_opts.iface, error_string); + g_free(error_string); } else cmdarg_err("The capture device \"%s\" has no data link types.", global_capture_opts.iface); exit(2); |