From 06a82a827480c9701487b216a20528d160262118 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Mon, 27 Jan 2014 21:41:55 -0500 Subject: [PATCH] liblbx: Always return a value in file_seek. This function did not return any value on success so it was only by chance that it seemed to work. --- src/fops.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fops.c b/src/fops.c index e546b10..26b392f 100644 --- a/src/fops.c +++ b/src/fops.c @@ -39,6 +39,8 @@ static int file_seek(void *handle, long offset, int whence) lbx_error_raise(-errno); return -1; } + + return 0; } static long file_tell(void *handle) -- 2.43.0