Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/syscall Fix small boolean oversight.
details: https://anonhg.NetBSD.org/src/rev/b63c57127ffa
branches: trunk
changeset: 763857:b63c57127ffa
user: jruoho <jruoho%NetBSD.org@localhost>
date: Tue Apr 05 19:06:09 2011 +0000
description:
Fix small boolean oversight.
diffstat:
tests/syscall/t_setrlimit.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 978f826a2c2e -r b63c57127ffa tests/syscall/t_setrlimit.c
--- a/tests/syscall/t_setrlimit.c Tue Apr 05 19:02:22 2011 +0000
+++ b/tests/syscall/t_setrlimit.c Tue Apr 05 19:06:09 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_setrlimit.c,v 1.1 2011/04/05 19:02:23 jruoho Exp $ */
+/* $NetBSD: t_setrlimit.c,v 1.2 2011/04/05 19:06:09 jruoho Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_setrlimit.c,v 1.1 2011/04/05 19:02:23 jruoho Exp $");
+__RCSID("$NetBSD: t_setrlimit.c,v 1.2 2011/04/05 19:06:09 jruoho Exp $");
#include <sys/resource.h>
#include <sys/mman.h>
@@ -277,7 +277,7 @@
(void)munlock(buf, page);
- _exit(EXIT_SUCCESS);
+ _exit(EXIT_FAILURE);
}
free(buf);
Home |
Main Index |
Thread Index |
Old Index