Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/darwin variable name mistake again.



details:   https://anonhg.NetBSD.org/src/rev/a663b936bb75
branches:  trunk
changeset: 584308:a663b936bb75
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Sep 12 22:16:56 2005 +0000

description:
variable name mistake again.

diffstat:

 sys/compat/darwin/darwin_mman.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 091bdba4e5fd -r a663b936bb75 sys/compat/darwin/darwin_mman.c
--- a/sys/compat/darwin/darwin_mman.c   Mon Sep 12 21:15:04 2005 +0000
+++ b/sys/compat/darwin/darwin_mman.c   Mon Sep 12 22:16:56 2005 +0000
@@ -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 <sys/cdefs.h>
-__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 <sys/types.h>
 #include <sys/param.h>
@@ -140,7 +140,7 @@
 
        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);



Home | Main Index | Thread Index | Old Index