diff options
| author | rpaulo <rpaulo@NetBSD.org> | 2005-11-30 11:36:22 +0000 |
|---|---|---|
| committer | rpaulo <rpaulo@NetBSD.org> | 2005-11-30 11:36:22 +0000 |
| commit | 462d39494a2cf5e292e6175b4e53a49fa41dc896 (patch) | |
| tree | 669c68462b7579013b84d9bc589b26c524066241 /sys/compat/linux/common/linux_misc.c | |
| parent | 12940193e8ce2921ec306f5641fd28a524b8380d (diff) | |
Remove the debugging printf left in linux_sys_getrlimit().
Diffstat (limited to 'sys/compat/linux/common/linux_misc.c')
| -rw-r--r-- | sys/compat/linux/common/linux_misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/common/linux_misc.c b/sys/compat/linux/common/linux_misc.c index e08e60e51e5..9b9252ab409 100644 --- a/sys/compat/linux/common/linux_misc.c +++ b/sys/compat/linux/common/linux_misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_misc.c,v 1.145 2005/11/23 22:23:30 manu Exp $ */ +/* $NetBSD: linux_misc.c,v 1.146 2005/11/30 11:36:22 rpaulo 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.145 2005/11/23 22:23:30 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.146 2005/11/30 11:36:22 rpaulo Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -1701,7 +1701,7 @@ linux_sys_getrlimit(l, v, retval) if ((error = copyin(SCARG(&ap, rlp), &rl, sizeof(rl))) != 0) return error; bsd_to_linux_rlimit(&orl, &rl); - printf(" %lx\n", (unsigned long)orl.rlim_max); + return copyout(&orl, SCARG(uap, rlp), sizeof(orl)); } |
