mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 20:43:45 +08:00
* callback.c (os_lseek): Call wrap on lseek result.
This commit is contained in:
parent
7cf1d8af2f
commit
0bd15c7fb2
@ -1,3 +1,7 @@
|
||||
2010-10-07 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* callback.c (os_lseek): Call wrap on lseek result.
|
||||
|
||||
2010-05-26 Ozkan Sezer <sezeroz@gmail.com>
|
||||
|
||||
* dv-sockser.c (dv_sockser_init): Check error return from socket()
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user