From 33175c606026c96ab486c1fceff07a912099542e Mon Sep 17 00:00:00 2001 From: baixu Date: Thu, 17 Oct 2024 18:53:40 +0800 Subject: [PATCH] fixed spelling mistake --- src/utils/unilib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/unilib.rs b/src/utils/unilib.rs index ce93aec..d05d318 100644 --- a/src/utils/unilib.rs +++ b/src/utils/unilib.rs @@ -201,7 +201,7 @@ pub fn unilib_fs_append(mmio_ipa: usize) -> Result { /// Finished one unilib fs operation. /// Currently this function is unused, cause we use a loop for polling. -/// We may need to design a nofity mechanism in the future. +/// We may need to design a notify mechanism in the future. /// ## Arguments /// * `vm_id` - The target GVM's VM id of this unilib fs operation. pub fn unilib_fs_finished(vm_id: usize) -> Result { @@ -273,7 +273,7 @@ pub fn unilib_fs_open(path_start_ipa: usize, path_length: usize, flags: usize) - /// HVC_UNILIB | HVC_UNILIB_FS_CLOSE /// This function performs the close operation by send a HvcGuestMsg to MVM. /// It's a synchronous process trigger by GVM. -/// If success, returns the return value of close opreation passed from MVM's C lib, wrapped by `Result` structure. +/// If success, returns the return value of close operation passed from MVM's C lib, wrapped by `Result` structure. /// ## Arguments /// * `fd` - The file descriptor of file to be closed. pub fn unilib_fs_close(fd: usize) -> Result { -- Gitee