summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-09-19 10:23:57 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2022-09-19 10:23:57 +0300
commitbbf81b51f26eedb472ea892e47998d8167852b93 (patch)
tree232838b1816d1b39304b26346cf6990411cb533a
parent32bab2ce0518d829b4f97a272fc2431169744c75 (diff)
downloadmariadb-git-bbf81b51f26eedb472ea892e47998d8167852b93.tar.gz
Correct typos in a function comment
Thanks to Thirunarayanan Balathandayuthapani for spotting this.
-rw-r--r--storage/innobase/os/os0file.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/storage/innobase/os/os0file.cc b/storage/innobase/os/os0file.cc
index 4d6a82d0fe8..39d5ebde1db 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(