Module Name: src Committed By: jruoho Date: Tue Apr 5 19:06:09 UTC 2011
Modified Files: src/tests/syscall: t_setrlimit.c Log Message: Fix small boolean oversight. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/syscall/t_setrlimit.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/syscall/t_setrlimit.c diff -u src/tests/syscall/t_setrlimit.c:1.1 src/tests/syscall/t_setrlimit.c:1.2 --- src/tests/syscall/t_setrlimit.c:1.1 Tue Apr 5 19:02:23 2011 +++ src/tests/syscall/t_setrlimit.c Tue Apr 5 19:06:09 2011 @@ -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);