diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/others/bers/bers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/others/bers/bers.c b/test/others/bers/bers.c index 0954868ff..90b70c349 100644 --- a/test/others/bers/bers.c +++ b/test/others/bers/bers.c @@ -138,7 +138,7 @@ static int create_files(shared_data_t *shared, int *fd, size_t nr_files) char path[PATH_MAX]; size_t i; - memset(fd, 0xff, sizeof(fd)); + memset(fd, 0xff, sizeof(*fd) * MAX_CHUNK); pr_info("\tCreating %lu files\n", shared->opt_files); |