Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/mach Stupid (but harmful) copy/paste mistake.



details:   https://anonhg.NetBSD.org/src/rev/15b16b7f4235
branches:  trunk
changeset: 540325:15b16b7f4235
user:      manu <manu%NetBSD.org@localhost>
date:      Mon Dec 09 22:28:16 2002 +0000

description:
Stupid (but harmful) copy/paste mistake.

diffstat:

 sys/compat/mach/mach_port.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r a31c1051fc50 -r 15b16b7f4235 sys/compat/mach/mach_port.c
--- a/sys/compat/mach/mach_port.c       Mon Dec 09 21:53:28 2002 +0000
+++ b/sys/compat/mach/mach_port.c       Mon Dec 09 22:28:16 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mach_port.c,v 1.11 2002/12/09 21:53:28 manu Exp $ */
+/*     $NetBSD: mach_port.c,v 1.12 2002/12/09 22:28:16 manu Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mach_port.c,v 1.11 2002/12/09 21:53:28 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mach_port.c,v 1.12 2002/12/09 22:28:16 manu Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -154,8 +154,8 @@
        size_t maxlen;
        mach_msg_header_t *dst;
 {
-       mach_port_allocate_request_t req;
-       mach_port_allocate_reply_t rep;
+       mach_port_insert_right_request_t req;
+       mach_port_insert_right_reply_t rep;
        int error;
 
        if ((error = copyin(msgh, &req, sizeof(req))) != 0)



Home | Main Index | Thread Index | Old Index