diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-01-16 20:53:42 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-01-16 20:53:42 +0200 |
commit | f6bd2c366b32262c2a5a1ac38713dc84bf7c9cbf (patch) | |
tree | 6464f369218560de977847b1dafc2952f89e37d9 /tests/ubi-tests/io_paral.c | |
parent | 3bcddc65e3ffd69f29a68410c0604218cec8c34a (diff) |
ubi-tests: fix build and some warnings
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/ubi-tests/io_paral.c')
-rw-r--r-- | tests/ubi-tests/io_paral.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ubi-tests/io_paral.c b/tests/ubi-tests/io_paral.c index f98618c..ed0cbe0 100644 --- a/tests/ubi-tests/io_paral.c +++ b/tests/ubi-tests/io_paral.c @@ -60,7 +60,7 @@ static long long memory_limit(void) * * @ptr thread number */ -static void * the_thread(void *ptr) +static void *the_thread(void *ptr) { int fd, iter = iterations, vol_id = (int)ptr; unsigned char *wbuf, *rbuf; @@ -219,7 +219,7 @@ int main(int argc, char * const argv[]) } for (i = 0; i < THREADS_NUM; i++) { - ret = pthread_create(&threads[i], NULL, &the_thread, (void*)i); + ret = pthread_create(&threads[i], NULL, &the_thread, (void *)i); if (ret) { failed("pthread_create"); goto remove; |