diff options
author | Richard Genoud <richard.genoud@gmail.com> | 2012-09-12 16:38:34 +0200 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-09-25 18:06:50 +0300 |
commit | f3f3a208048eac5f8b5752a17ebcd44db9230fd8 (patch) | |
tree | 2f697e448f84cf55ecaebcb19f6fc1b10d54e303 /tests/fs-tests/integrity | |
parent | 4f1b10827b81cd9acaa9e02b0da0dc447f1471ea (diff) |
consistency between u_int32_t / off_t / off64_t
We should use the off_t type instead of off64_t or u_int32_t as its
length is controlled by the WITHOUT_LARGEFILE flag.
Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'tests/fs-tests/integrity')
-rw-r--r-- | tests/fs-tests/integrity/integck.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fs-tests/integrity/integck.c b/tests/fs-tests/integrity/integck.c index f12dfac..087a18b 100644 --- a/tests/fs-tests/integrity/integck.c +++ b/tests/fs-tests/integrity/integck.c @@ -899,8 +899,8 @@ static ssize_t file_write_data(struct file_info *file, int fd, off_t offset, remains = size; actual = 0; written = IO_BUFFER_SIZE; - v("write %zd bytes, offset %llu, file %s", - size, (unsigned long long)offset, get_file_name(file)); + v("write %zd bytes, offset %"PRIdoff_t", file %s", + size, offset, get_file_name(file)); while (remains) { /* Fill up buffer with random data */ if (written < IO_BUFFER_SIZE) { |