summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-09-08 23:16:55 +0200
committerJo-Philipp Wich <jo@mein.io>2020-09-08 23:16:55 +0200
commit0f5f10ab571576e840a9568669bd49f5cdf7c0ac (patch)
treee7dcca84ef8c114eebadf70818ca20dadbbe3ed2
parentfaa1a1910f032c6c3bbc7b8da36332c3f8f434d0 (diff)
fs: fix file seek() return value
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--lib/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fs.c b/lib/fs.c
index 252689a..9198e87 100644
--- a/lib/fs.c
+++ b/lib/fs.c
@@ -216,7 +216,7 @@ ut_fs_seek(struct ut_state *s, uint32_t off, struct json_object *args)
if (res < 0)
err_return(errno);
- return json_object_new_int64(res);
+ return json_object_new_boolean(true);
}
static struct json_object *