Fix compilation warnings
parent
3a34b2efb7
commit
be48206e5f
|
@ -171,7 +171,7 @@ void gpfs_access_start(int fd, IOR_offset_t length, IOR_param_t *param, int acce
|
||||||
|
|
||||||
rc = gpfs_fcntl(fd, &take_locks);
|
rc = gpfs_fcntl(fd, &take_locks);
|
||||||
if (verbose >= VERBOSE_2 && rc != 0) {
|
if (verbose >= VERBOSE_2 && rc != 0) {
|
||||||
EWARNF("gpfs_fcntl(fd, ...) access range hint failed.", fd);
|
EWARNF("gpfs_fcntl(%d, ...) access range hint failed.", fd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -195,7 +195,7 @@ void gpfs_access_end(int fd, IOR_offset_t length, IOR_param_t *param, int access
|
||||||
|
|
||||||
rc = gpfs_fcntl(fd, &free_locks);
|
rc = gpfs_fcntl(fd, &free_locks);
|
||||||
if (verbose >= VERBOSE_2 && rc != 0) {
|
if (verbose >= VERBOSE_2 && rc != 0) {
|
||||||
EWARNF("gpfs_fcntl(fd, ...) free range hint failed.", fd);
|
EWARNF("gpfs_fcntl(%d, ...) free range hint failed.", fd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -503,8 +503,6 @@ void AllocResults(IOR_test_t *test)
|
||||||
if (test->results != NULL)
|
if (test->results != NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
IOR_param_t * params = & test->params;
|
|
||||||
|
|
||||||
reps = test->params.repetitions;
|
reps = test->params.repetitions;
|
||||||
test->results = (IOR_results_t *) safeMalloc(sizeof(IOR_results_t) * reps);
|
test->results = (IOR_results_t *) safeMalloc(sizeof(IOR_results_t) * reps);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue