summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/isa/cross.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-28 13:47:41 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-28 13:47:41 +0000
commit4c46afe9f467831fba921bfa77a12903c4c39c7d (patch)
treeb755c95bf93b8cb384f911d3f70b96063188d78a /sys/arch/amiga/isa/cross.c
parent8a3355695ffa23bba7a2cb69d229a81ba3485bf9 (diff)
Sync in more uvm changes from NetBSD.
This time we're getting rid of KERN_* and VM_PAGER_* error codes and use errnos instead.
Diffstat (limited to 'sys/arch/amiga/isa/cross.c')
-rw-r--r--sys/arch/amiga/isa/cross.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amiga/isa/cross.c b/sys/arch/amiga/isa/cross.c
index b01ddbb46e6..140b9941391 100644
--- a/sys/arch/amiga/isa/cross.c
+++ b/sys/arch/amiga/isa/cross.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cross.c,v 1.18 2001/11/06 19:53:14 miod Exp $ */
+/* $OpenBSD: cross.c,v 1.19 2001/11/28 13:47:38 art Exp $ */
/*
* Copyright (c) 1994, 1996 Niklas Hallqvist, Carsten Hammer
@@ -282,7 +282,7 @@ cross_mem_map(bst, addr, sz, cacheable, handle)
vm_map_lock(kernel_map);
error = vm_map_insert(kernel_map, object, 0, kva, kva + banked_size);
vm_map_unlock(kernel_map);
- if (error != KERN_SUCCESS)
+ if (error)
goto fail_insert;
/* Tell caller where to find his data. */