mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
Minor compiler warnings cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1887 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1960,7 +1960,7 @@ static ssize_t scst_luns_mgmt_show(struct kobject *kobj,
|
||||
"param_name=value pairs separated by ';'\n"
|
||||
"\nThe following parameters available: read_only.";
|
||||
|
||||
return sprintf(buf, help);
|
||||
return sprintf(buf, "%s", help);
|
||||
}
|
||||
|
||||
static ssize_t scst_luns_mgmt_store(struct kobject *kobj,
|
||||
@@ -2309,7 +2309,7 @@ static ssize_t scst_ini_group_mgmt_show(struct kobject *kobj,
|
||||
static char *help = "Usage: echo \"create GROUP_NAME\" >mgmt\n"
|
||||
" echo \"del GROUP_NAME\" >mgmt\n";
|
||||
|
||||
return sprintf(buf, help);
|
||||
return sprintf(buf, "%s", help);
|
||||
}
|
||||
|
||||
static ssize_t scst_ini_group_mgmt_store(struct kobject *kobj,
|
||||
@@ -2640,7 +2640,7 @@ static ssize_t scst_acg_ini_mgmt_show(struct kobject *kobj,
|
||||
" echo \"clear\" "
|
||||
">mgmt\n";
|
||||
|
||||
return sprintf(buf, help);
|
||||
return sprintf(buf, "%s", help);
|
||||
}
|
||||
|
||||
static ssize_t scst_acg_ini_mgmt_store(struct kobject *kobj,
|
||||
@@ -3632,7 +3632,7 @@ static ssize_t scst_devt_pass_through_mgmt_show(struct kobject *kobj,
|
||||
{
|
||||
char *help = "Usage: echo \"add_device H:C:I:L\" >mgmt\n"
|
||||
" echo \"del_device H:C:I:L\" >mgmt\n";
|
||||
return sprintf(buf, help);
|
||||
return sprintf(buf, "%s", help);
|
||||
}
|
||||
|
||||
static ssize_t scst_devt_pass_through_mgmt_store(struct kobject *kobj,
|
||||
|
||||
Reference in New Issue
Block a user