Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/netbsd32 Fix c&p error.



details:   https://anonhg.NetBSD.org/src/rev/682d11399ccd
branches:  trunk
changeset: 761286:682d11399ccd
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Jan 22 20:51:21 2011 +0000

description:
Fix c&p error.

diffstat:

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

diffs (27 lines):

diff -r a15c644ad908 -r 682d11399ccd sys/compat/netbsd32/netbsd32_ioctl.c
--- a/sys/compat/netbsd32/netbsd32_ioctl.c      Sat Jan 22 20:24:48 2011 +0000
+++ b/sys/compat/netbsd32/netbsd32_ioctl.c      Sat Jan 22 20:51:21 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_ioctl.c,v 1.52 2011/01/18 19:52:24 matt Exp $ */
+/*     $NetBSD: netbsd32_ioctl.c,v 1.53 2011/01/22 20:51:21 matt Exp $ */
 
 /*
  * Copyright (c) 1998, 2001 Matthew R. Green
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_ioctl.c,v 1.52 2011/01/18 19:52:24 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_ioctl.c,v 1.53 2011/01/22 20:51:21 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -740,7 +740,7 @@
        if (memp32)
                kmem_free(memp32, alloc_size32);
        if (memp)
-               kmem_free(memp32, size);
+               kmem_free(memp, size);
        fd_putfile(fd);
        return (error);
 }



Home | Main Index | Thread Index | Old Index