Skip to content
Snippets Groups Projects
Commit a4ecb890 authored by Greg Kaiser's avatar Greg Kaiser Committed by Edgar Arriaga
Browse files

Fix function return type

Test: TreeHugger
Change-Id: I2336a0c2bf3f71cc0b0bc1ef491a1043e88f359e
Merged-In: I2336a0c2bf3f71cc0b0bc1ef491a1043e88f359e
parent c51efbe6
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,7 @@ static int getAnonPageAdvice(const Vma& vma) {
}
return -1;
}
static bool getAnyPageAdvice(const Vma& vma) {
static int getAnyPageAdvice(const Vma& vma) {
if (vma.inode == 0 && !vma.is_shared) {
return MADV_PAGEOUT;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment