aboutsummaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2012-04-16 17:41:13 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2012-04-16 17:41:13 +0200
commitc933f27a3a932bbe9921a1d94b45e4db94b21a5f (patch)
treee054a0a81294819ce27c940f80e5a8ca90d53c7c /file.c
parent35be58119e3727a694d8c9f9b83f372401fcc4c0 (diff)
downloadstrace-c933f27a3a932bbe9921a1d94b45e4db94b21a5f.tar.gz
Fix a problem with sys_lseek on x32
* file.c (sys_lseek): Use MIPS-n32 variant also for x32 Signed-off-by: H.J. Lu <hongjiu.lu@intel.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 58585f382..5f3b506aa 100644
--- a/file.c
+++ b/file.c
@@ -501,7 +501,7 @@ static const struct xlat whence[] = {
{ 0, NULL },
};
-#if defined(LINUX_MIPSN32)
+#if defined(LINUX_MIPSN32) || defined(X32)
int
sys_lseek(struct tcb *tcp)
{