mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
increase errno string buffer size
This commit is contained in:
@@ -159,7 +159,7 @@ public:
|
||||
spdlog_ex(const std::string &msg, int last_errno)
|
||||
{
|
||||
std::string errno_string;
|
||||
char buf[256], *buf_ptr = buf;
|
||||
char buf[500], *buf_ptr = buf;
|
||||
|
||||
if (fmt::safe_strerror(last_errno, buf_ptr, sizeof(buf)) == 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user