Fix another bug reported by Ashwini Sharma.
diff --git a/lib/lib.c b/lib/lib.c
index 1126e11..a8195dd 100644
--- a/lib/lib.c
+++ b/lib/lib.c
@@ -109,7 +109,7 @@
 
     or = readall(fd, libbuf, try);
     if (or < 0) perror_exit("lskip to %lld", (long long)offset);
-    else offset -= try;
+    else offset -= or;
     if (or < try) break;
   }