Message type for VFS_LSEEK

Change-Id: I592284078572e4abf2b181d3b4e8281c9baf8a7b
This commit is contained in:
2014-05-12 13:16:40 +02:00
parent 9ceebd7a4b
commit 268d670a85
4 changed files with 27 additions and 12 deletions

View File

@@ -646,13 +646,13 @@ int do_lseek(void)
off_t newpos;
int r;
if ((r = actual_lseek(fp, job_m_in.VFS_LSEEK_FD,
job_m_in.VFS_LSEEK_WHENCE, job_m_in.VFS_LSEEK_OFF,
if ((r = actual_lseek(fp, job_m_in.m_lc_vfs_lseek.fd,
job_m_in.m_lc_vfs_lseek.whence, job_m_in.m_lc_vfs_lseek.offset,
&newpos)) != OK)
return r;
/* insert the new position into the output message */
job_m_out.VFS_LSEEK_OFF = newpos;
job_m_out.m_vfs_lc_lseek.offset = newpos;
return OK;
}