0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-11 06:28:55 +02:00

ircd::fs::aio: Remove unused errbuf.

This commit is contained in:
Jason Volk 2019-03-29 21:46:03 -07:00
parent 9b41f5c13a
commit 76138dbebd

View file

@ -347,9 +347,9 @@ ircd::fs::aio::request::operator()()
stats.errors++;
stats.bytes_errors += submitted_bytes;
thread_local char errbuf[2][512]; fmt::sprintf
thread_local char errbuf[512]; fmt::sprintf
{
errbuf[0], "fd:%d size:%zu off:%zd op:%u pri:%u #%lu",
errbuf, "fd:%d size:%zu off:%zd op:%u pri:%u #%lu",
aio_fildes,
aio_nbytes,
aio_offset,
@ -360,7 +360,7 @@ ircd::fs::aio::request::operator()()
throw std::system_error
{
make_error_code(errcode), errbuf[0]
make_error_code(errcode), errbuf
};
}