From bbf81b51f26eedb472ea892e47998d8167852b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Mon, 19 Sep 2022 10:23:57 +0300 Subject: [PATCH] Correct typos in a function comment Thanks to Thirunarayanan Balathandayuthapani for spotting this. --- storage/innobase/os/os0file.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/storage/innobase/os/os0file.cc b/storage/innobase/os/os0file.cc index 4d6a82d0fe808..39d5ebde1db3e 100644 --- a/storage/innobase/os/os0file.cc +++ b/storage/innobase/os/os0file.cc @@ -4923,10 +4923,11 @@ os_file_io( @param[in] type IO context @param[in] file handle to an open file @param[out] buf buffer from which to write -@param[in] n number of bytes to read, starting from offset -@param[in] offset file offset from the start where to read +@param[in] n number of bytes to write, starting from offset +@param[in] offset file offset from the start where to write @param[out] err DB_SUCCESS or error code -@return number of bytes written, -1 if error */ +@return number of bytes written +@retval -1 on error */ static MY_ATTRIBUTE((warn_unused_result)) ssize_t os_file_pwrite(