Fix sad bug

This commit is contained in:
Nekotekina 2019-06-04 19:13:30 +03:00
parent 9dc0368079
commit b2e08100ff

View File

@ -219,7 +219,7 @@ namespace fs
total += buffers[i].iov_len;
}
const auto buf = std::make_unique<uchar>(total);
const auto buf = std::make_unique<uchar[]>(total);
u64 copied = 0;