* callback.c (os_lseek): Call wrap on lseek result.
authorHans-Peter Nilsson <hp@axis.com>
Wed, 6 Oct 2010 23:45:44 +0000 (23:45 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Wed, 6 Oct 2010 23:45:44 +0000 (23:45 +0000)
sim/common/ChangeLog
sim/common/callback.c

index 2eebba8..6cb313b 100644 (file)
@@ -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()
index d034bca..a12b3fe 100644 (file)
@@ -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;
 }