fsclose01: Fix uninitialized variable warning

This commit is contained in:
Sebastian Huber
2018-10-12 14:45:24 +02:00
parent c6023b75bb
commit 47b32a01a4

View File

@@ -379,7 +379,7 @@ static void worker_task(rtems_task_argument arg)
rtems_test_assert(rv == 0);
break;
case ACTION_LSEEK:
off = lseek(ctx->fd, off, SEEK_SET);
off = lseek(ctx->fd, 0, SEEK_SET);
rtems_test_assert(off == 0);
break;
case ACTION_READ: