diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-09-08 23:17:23 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-09-08 23:17:23 +0200 |
commit | 72f4a6ee1fcb22a6ad407e9e0d9969de820985fe (patch) | |
tree | f28c6060cc0123db0c41c30d21a9d7bed9d3a9e7 | |
parent | 0f5f10ab571576e840a9568669bd49f5cdf7c0ac (diff) |
fs: rename readdir() and closedir() to read() and close() respectively
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | lib/fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -602,9 +602,9 @@ void ut_module_init(const struct ut_ops *ut, struct ut_state *s, struct json_obj dir_proto = ops->new_object(s, NULL); if (dir_proto) { - ops->register_function(s, dir_proto, "readdir", ut_fs_readdir); + ops->register_function(s, dir_proto, "read", ut_fs_readdir); ops->register_function(s, dir_proto, "seek", ut_fs_seekdir); ops->register_function(s, dir_proto, "tell", ut_fs_telldir); - ops->register_function(s, dir_proto, "closedir", ut_fs_closedir); + ops->register_function(s, dir_proto, "close", ut_fs_closedir); } } |