diff --git a/ircd/fs.cc b/ircd/fs.cc index 5abf58e1d..3f6fe0c60 100644 --- a/ircd/fs.cc +++ b/ircd/fs.cc @@ -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: