From 394b2aa25b09bceb5d3b0cb1dd290841f9f855e3 Mon Sep 17 00:00:00 2001 From: David Reid Date: Thu, 11 Jul 2002 22:18:07 +0000 Subject: [PATCH] ERR -> E CVSR -> E------------------------------------------------------------------ git-svn-id: file:///srv/svn/repos/haiku/trunk/current@102 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/vm/vm_page.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kernel/core/vm/vm_page.c b/src/kernel/core/vm/vm_page.c index 3dd1a43293..cf1ad1c5b6 100755 --- a/src/kernel/core/vm/vm_page.c +++ b/src/kernel/core/vm/vm_page.c @@ -354,12 +354,12 @@ int vm_mark_page_range_inuse(addr start_page, addr len) if(physical_page_offset > start_page) { dprintf("vm_mark_page_range_inuse: start page %ld is before free list\n", start_page); - return ERR_INVALID_ARGS; + return EINVAL; } start_page -= physical_page_offset; if(start_page + len >= num_pages) { dprintf("vm_mark_page_range_inuse: range would extend past free list\n"); - return ERR_INVALID_ARGS; + return EINVAL; } state = int_disable_interrupts();