aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-01 18:44:59 -0500
committerIan Moffett <ian@osmora.org>2024-03-01 18:44:59 -0500
commite410e54ed503c88bf5228986f906b233388685ea (patch)
tree4fe77c34f97ad4b1b57b470d2166e17ebd80a12b /sys/include
parent343d183cd0b7c81a70f576f8282d7ca8838b98a7 (diff)
kernel: vfs: Return -1 on vfs_hash_path() failure
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/vfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/include/sys/vfs.h b/sys/include/sys/vfs.h
index 40b27af..7aafecf 100644
--- a/sys/include/sys/vfs.h
+++ b/sys/include/sys/vfs.h
@@ -41,7 +41,7 @@ struct fs_info *vfs_byname(const char *name);
struct vnode *vfs_path_to_node(const char *path);
char *vfs_get_fname_at(const char *path, size_t idx);
bool vfs_is_valid_path(const char *path);
-size_t vfs_hash_path(const char *path);
+ssize_t vfs_hash_path(const char *path);
#endif /* defined(_KERNEL) */
#endif /* !_SYS_VFS_H_ */