From 0bd15c7fb2b8e2bcc72890acc6e42816d39d64df Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Wed, 6 Oct 2010 23:45:44 +0000 Subject: * callback.c (os_lseek): Call wrap on lseek result. --- sim/common/ChangeLog | 4 ++++ sim/common/callback.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'sim') diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 2eebba82b9..6cb313b745 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,7 @@ +2010-10-07 Hans-Peter Nilsson + + * callback.c (os_lseek): Call wrap on lseek result. + 2010-05-26 Ozkan Sezer * dv-sockser.c (dv_sockser_init): Check error return from socket() 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; } -- cgit v1.2.1