summaryrefslogtreecommitdiffstats
path: root/sim/common/callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/callback.c')
-rw-r--r--sim/common/callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/callback.c b/sim/common/callback.c
index d034bca451..a12b3fe2b4 100644
--- a/sim/common/callback.c
+++ b/sim/common/callback.c
@@ -278,7 +278,7 @@ os_lseek (p, fd, off, way)
result = fdbad (p, fd);
if (result)
return result;
- result = lseek (fdmap (p, fd), off, way);
+ result = wrap (p, lseek (fdmap (p, fd), off, way));
return result;
}
OpenPOWER on IntegriCloud