aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/scsi_stat.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2012-12-06 20:59:53 +0000
committerBill Meier <wmeier@newsguy.com>2012-12-06 20:59:53 +0000
commitae68f42297198ee651f9b8ebe4aa822beb3fb725 (patch)
tree1a31265094a378bb7d7d8c0de9949e2f729afd8d /ui/gtk/scsi_stat.c
parent35b912bcbf7674f34e934c583ecfcea40c74bf64 (diff)
Fix [-Wshadow] warnings.
svn path=/trunk/; revision=46426
Diffstat (limited to 'ui/gtk/scsi_stat.c')
-rw-r--r--ui/gtk/scsi_stat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/scsi_stat.c b/ui/gtk/scsi_stat.c
index a7c74730eb..699795c8dd 100644
--- a/ui/gtk/scsi_stat.c
+++ b/ui/gtk/scsi_stat.c
@@ -157,7 +157,7 @@ win_destroy_cb(GtkWindow *win _U_, gpointer data)
/* When called, this function will create a new instance of gtk2-scsistat.
*/
static void
-gtk_scsistat_init(const char *optarg, void* userdata _U_)
+gtk_scsistat_init(const char *opt_arg, void* userdata _U_)
{
scsistat_t *rs;
guint32 i;
@@ -174,9 +174,9 @@ gtk_scsistat_init(const char *optarg, void* userdata _U_)
const char *hf_name=NULL;
pos=0;
- if(sscanf(optarg,"scsi,srt,%d,%n",&program,&pos)==1){
+ if(sscanf(opt_arg,"scsi,srt,%d,%n",&program,&pos)==1){
if(pos){
- filter=optarg+pos;
+ filter=opt_arg+pos;
} else {
filter=NULL;
}