diff --git a/doc/reference.qbk b/doc/reference.qbk index 27bcb46b..4bd04312 100644 --- a/doc/reference.qbk +++ b/doc/reference.qbk @@ -22438,7 +22438,7 @@ This function is used to get the current value of an option on the serial port. [[option][The option value to be obtained from the serial port.]] -[[ec][Set to indicate what error occured, if any.]] +[[ec][Set to indicate what error occurred, if any.]] ] diff --git a/include/boost/asio/basic_serial_port.hpp b/include/boost/asio/basic_serial_port.hpp index e0f83b0a..d318963a 100644 --- a/include/boost/asio/basic_serial_port.hpp +++ b/include/boost/asio/basic_serial_port.hpp @@ -445,7 +445,7 @@ class basic_serial_port * * @param option The option value to be obtained from the serial port. * - * @param ec Set to indicate what error occured, if any. + * @param ec Set to indicate what error occurred, if any. * * @sa GettableSerialPortOption @n * boost::asio::serial_port_base::baud_rate @n