From 6a2a9892661c85917d60ff5842176d9335a5f574 Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 12 Sep 2005 22:16:56 +0000 Subject: [PATCH] variable name mistake again. --- sys/compat/darwin/darwin_mman.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/compat/darwin/darwin_mman.c b/sys/compat/darwin/darwin_mman.c index 1381250e1e41..f262ceb0f561 100644 --- a/sys/compat/darwin/darwin_mman.c +++ b/sys/compat/darwin/darwin_mman.c @@ -1,6 +1,6 @@ #undef DEBUG_DARWIN #undef DEBUG_MACH -/* $NetBSD: darwin_mman.c,v 1.16 2005/09/12 20:54:38 christos Exp $ */ +/* $NetBSD: darwin_mman.c,v 1.17 2005/09/12 22:16:56 christos Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -39,7 +39,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: darwin_mman.c,v 1.16 2005/09/12 20:54:38 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: darwin_mman.c,v 1.17 2005/09/12 22:16:56 christos Exp $"); #include #include @@ -140,7 +140,7 @@ darwin_sys_load_shared_file(l, v, retval) if (SCARG(uap, count) < 0 || SCARG(uap, count) > PAGE_SIZE / sizeof(*mapp)) { - errno = EINVAL; + error = EINVAL; goto bad3; } mapp = malloc(sizeof(*mapp) * SCARG(uap, count), M_TEMP, M_WAITOK);