diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e517c15f639..694739f43eb 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,7 @@ 2019-05-04 Jonathan Wakely + * include/std/system_error (error_category): Fix comment. + PR libstdc++/90299 * src/c++17/fs_ops.cc (absolute(const path&)): Report an error if the argument is an empty path. diff --git a/libstdc++-v3/include/std/system_error b/libstdc++-v3/include/std/system_error index 768eddaefd1..3685348ee4d 100644 --- a/libstdc++-v3/include/std/system_error +++ b/libstdc++-v3/include/std/system_error @@ -77,7 +77,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION /** Abstract base class for types defining a category of error codes. * * An error category defines a context that give meaning to the integer - * stored in an `error_code` or `error_category` object. For example, + * stored in an `error_code` or `error_condition` object. For example, * the standard `errno` constants such a `EINVAL` and `ENOMEM` are * associated with the "generic" category and other OS-specific error * numbers are associated with the "system" category, but a user-defined