Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/common Don't copy from destination to desti...



details:   https://anonhg.NetBSD.org/src/rev/eb4c6863939e
branches:  trunk
changeset: 533058:eb4c6863939e
user:      enami <enami%NetBSD.org@localhost>
date:      Thu Jun 20 04:01:43 2002 +0000

description:
Don't copy from destination to destination.

diffstat:

 sys/compat/linux/common/linux_misc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r be2f18138483 -r eb4c6863939e sys/compat/linux/common/linux_misc.c
--- a/sys/compat/linux/common/linux_misc.c      Thu Jun 20 02:24:05 2002 +0000
+++ b/sys/compat/linux/common/linux_misc.c      Thu Jun 20 04:01:43 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_misc.c,v 1.109 2002/05/10 14:49:38 tron Exp $    */
+/*     $NetBSD: linux_misc.c,v 1.110 2002/06/20 04:01:43 enami Exp $   */
 
 /*-
  * Copyright (c) 1995, 1998, 1999 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.109 2002/05/10 14:49:38 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.110 2002/06/20 04:01:43 enami Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1495,7 +1495,7 @@
     bsd_to_linux_rlimit1(l, b, rlim_max)
 
 #define linux_to_bsd_rlimit1(b, l, f) \
-    (b)->f = (l)->f == LINUX_RLIM_INFINITY ? RLIM_INFINITY : (b)->f
+    (b)->f = (l)->f == LINUX_RLIM_INFINITY ? RLIM_INFINITY : (l)->f
 #define linux_to_bsd_rlimit(b, l) \
     linux_to_bsd_rlimit1(b, l, rlim_cur); \
     linux_to_bsd_rlimit1(b, l, rlim_max)



Home | Main Index | Thread Index | Old Index