diff options
Diffstat (limited to 'libpager/object-init.c')
-rw-r--r-- | libpager/object-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpager/object-init.c b/libpager/object-init.c index 647abc6c..0d2f0e5a 100644 --- a/libpager/object-init.c +++ b/libpager/object-init.c @@ -31,7 +31,7 @@ _pager_seqnos_memory_object_init (mach_port_t object, struct pager *p; p = ports_lookup_port (0, object, _pager_class); - if (!p); + if (!p) return EOPNOTSUPP; if (pagesize != __vm_page_size) |