From: falcovorbis <fal...@us...> - 2024-10-21 05:19:49
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via f5c0a4c7ce9325a5969319afa17903436f50d4e1 (commit) from 41f2fd3f82d822099cdcea8f08e323c24da84d2c (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f5c0a4c7ce9325a5969319afa17903436f50d4e1 Author: Donald Haase <qu...@ya...> Date: Mon Oct 21 01:19:33 2024 -0400 Stat is intended to return 0 upon successful completion. Was returning -1. (#821) Co-authored-by: QuzarDC <qu...@co...> ----------------------------------------------------------------------- Summary of changes: kernel/fs/fs_ramdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/fs/fs_ramdisk.c b/kernel/fs/fs_ramdisk.c index f86bbd09..97720aad 100644 --- a/kernel/fs/fs_ramdisk.c +++ b/kernel/fs/fs_ramdisk.c @@ -624,7 +624,7 @@ static int ramdisk_stat(vfs_handler_t *vfs, const char *path, struct stat *st, if(f->datasize & 0x3ff) ++st->st_blocks; - return -1; + return 0; } static int ramdisk_fcntl(void *h, int cmd, va_list ap) { hooks/post-receive -- A pseudo Operating System for the Dreamcast. |