mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd::fs: Relax assertion on buffer length at alignment.
This commit is contained in:
parent
00657475d1
commit
439fb28854
1 changed files with 1 additions and 1 deletions
|
@ -1807,7 +1807,7 @@ ircd::fs::advise(const map &map,
|
|||
map + offset, len
|
||||
};
|
||||
|
||||
assert(aligned(buf, info::page_size));
|
||||
assert(aligned(data(buf), info::page_size));
|
||||
switch(const auto res(::madvise(data(buf), size(buf), advice)); res)
|
||||
{
|
||||
case 0:
|
||||
|
|
Loading…
Reference in a new issue