|
|
@@ -155,7 +155,7 @@ starpu_unistd_global_read (void *base STARPU_ATTRIBUTE_UNUSED, void *obj, void *
|
|
|
struct starpu_unistd_global_obj * tmp = (struct starpu_unistd_global_obj *) obj;
|
|
|
|
|
|
int res = lseek(tmp->descriptor, offset, SEEK_SET);
|
|
|
- STARPU_ASSERT_MSG(res >= 0, "Starpu Disk unistd read failed");
|
|
|
+ STARPU_ASSERT_MSG(res >= 0, "Starpu Disk unistd lseek for read failed");
|
|
|
|
|
|
ssize_t nb = read(tmp->descriptor, buf, size);
|
|
|
STARPU_ASSERT_MSG(res >= 0, "Starpu Disk unistd read failed");
|
|
|
@@ -171,7 +171,7 @@ starpu_unistd_global_write (void *base STARPU_ATTRIBUTE_UNUSED, void *obj, const
|
|
|
struct starpu_unistd_global_obj * tmp = (struct starpu_unistd_global_obj *) obj;
|
|
|
|
|
|
int res = lseek(tmp->descriptor, offset, SEEK_SET);
|
|
|
- STARPU_ASSERT_MSG(res >= 0, "Starpu Disk unistd write failed");
|
|
|
+ STARPU_ASSERT_MSG(res >= 0, "Starpu Disk unistd lseek for write failed");
|
|
|
|
|
|
ssize_t nb = write (tmp->descriptor, buf, size);
|
|
|
STARPU_ASSERT_MSG(res >= 0, "Starpu Disk unistd write failed");
|