diff --git a/include/ircd/fs/error.h b/include/ircd/fs/error.h index ae2d5052e..b29cde8f1 100644 --- a/include/ircd/fs/error.h +++ b/include/ircd/fs/error.h @@ -93,7 +93,7 @@ ircd::fs::error::error(const char *const &fmt, args&&... a) :std::system_error { - std::errc::invalid_argument + make_error_code(std::errc::invalid_argument) } ,ircd::error {