mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
ircd::fs::aio: Remove unused errbuf.
This commit is contained in:
parent
9b41f5c13a
commit
76138dbebd
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue