diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2010-10-06 23:45:44 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2010-10-06 23:45:44 +0000 |
commit | 0bd15c7fb2b8e2bcc72890acc6e42816d39d64df (patch) | |
tree | 57fd9c25c9b08f9c5cc77594d5dba288a8ca7e8e /sim/common/callback.c | |
parent | 7cf1d8af2f630bd1959cb16a6ddc50650239d0de (diff) | |
download | gdb-0bd15c7fb2b8e2bcc72890acc6e42816d39d64df.zip gdb-0bd15c7fb2b8e2bcc72890acc6e42816d39d64df.tar.gz gdb-0bd15c7fb2b8e2bcc72890acc6e42816d39d64df.tar.bz2 |
* callback.c (os_lseek): Call wrap on lseek result.
Diffstat (limited to 'sim/common/callback.c')
-rw-r--r-- | sim/common/callback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/callback.c b/sim/common/callback.c index d034bca..a12b3fe 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; } |