Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/regress/lib/libc/clone Returning values in void is BAD.
details: https://anonhg.NetBSD.org/src/rev/cc6bf7efc671
branches: trunk
changeset: 513151:cc6bf7efc671
user: matt <matt%NetBSD.org@localhost>
date: Wed Jul 25 05:17:50 2001 +0000
description:
Returning values in void is BAD.
diffstat:
regress/lib/libc/clone/clonetest.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 373eae726fa3 -r cc6bf7efc671 regress/lib/libc/clone/clonetest.c
--- a/regress/lib/libc/clone/clonetest.c Wed Jul 25 03:49:54 2001 +0000
+++ b/regress/lib/libc/clone/clonetest.c Wed Jul 25 05:17:50 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: clonetest.c,v 1.5 2001/07/24 13:46:04 christos Exp $ */
+/* $NetBSD: clonetest.c,v 1.6 2001/07/25 05:17:50 matt Exp $ */
/*
* This file placed in the public domain.
@@ -109,7 +109,7 @@
/* Can't enforce resource limit on root */
if (geteuid() == 0)
- return 0;
+ return;
if (getrlimit(RLIMIT_NPROC, &rl) == -1)
err(1, "getrlimit");
Home |
Main Index |
Thread Index |
Old Index