projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix variable shadowing
[fio.git]
/
server.c
diff --git
a/server.c
b/server.c
index 12c8d6841135437f4b3d06210aaa1ce74c9fd9b2..7e7ffedc7139077a6ea5b86b5e181afb0dd8efb0 100644
(file)
--- a/
server.c
+++ b/
server.c
@@
-1594,7
+1594,7
@@
void fio_server_send_gs(struct group_run_stats *rs)
}
void fio_server_send_job_options(struct flist_head *opt_list,
}
void fio_server_send_job_options(struct flist_head *opt_list,
- unsigned int g
roup
id)
+ unsigned int gid)
{
struct cmd_job_option pdu;
struct flist_head *entry;
{
struct cmd_job_option pdu;
struct flist_head *entry;
@@
-1609,12
+1609,12
@@
void fio_server_send_job_options(struct flist_head *opt_list,
p = flist_entry(entry, struct print_option, list);
memset(&pdu, 0, sizeof(pdu));
p = flist_entry(entry, struct print_option, list);
memset(&pdu, 0, sizeof(pdu));
- if (g
roup
id == -1U) {
+ if (gid == -1U) {
pdu.global = __cpu_to_le16(1);
pdu.groupid = 0;
} else {
pdu.global = 0;
pdu.global = __cpu_to_le16(1);
pdu.groupid = 0;
} else {
pdu.global = 0;
- pdu.groupid = cpu_to_le32(g
roup
id);
+ pdu.groupid = cpu_to_le32(gid);
}
len = strlen(p->name);
if (len >= sizeof(pdu.name)) {
}
len = strlen(p->name);
if (len >= sizeof(pdu.name)) {