aboutsummaryrefslogtreecommitdiff
path: root/tests/fs-tests/stress
diff options
context:
space:
mode:
authorAndy Shevchenko <ext-andriy.shevchenko@nokia.com>2011-04-13 16:20:27 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-14 15:32:27 +0300
commit2d3c16c2dc7af1c7a87044446e48730429299d32 (patch)
tree5a4039905263bdd56a8aa72193d953c3abac17dc /tests/fs-tests/stress
parentf96aa3ccf0fbb0e659e475d9ce9536b913067657 (diff)
tests: fs-tests: read() returns ssize_t value
Use ssize_t instead of size_t. Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/fs-tests/stress')
-rw-r--r--tests/fs-tests/stress/atoms/rndwrite00.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fs-tests/stress/atoms/rndwrite00.c b/tests/fs-tests/stress/atoms/rndwrite00.c
index 655d9cc..3c38e43 100644
--- a/tests/fs-tests/stress/atoms/rndwrite00.c
+++ b/tests/fs-tests/stress/atoms/rndwrite00.c
@@ -36,7 +36,7 @@
static void check_file(int fd, char *data, size_t length)
{
- size_t n, i;
+ ssize_t n, i;
char buf[BUFFER_SIZE];
CHECK(lseek(fd, 0, SEEK_SET) != -1);