From 501a72415a099472ff6601d54b9272a7d9da70b5 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Tue, 16 May 2006 05:47:14 +0000 Subject: Don't forget to return 0 on success, doh. --- regress/lib/libc/malloc/malloc_ulimit1/malloc_ulimit1.c | 3 ++- regress/lib/libc/malloc/malloc_ulimit2/malloc_ulimit2.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'regress/lib') diff --git a/regress/lib/libc/malloc/malloc_ulimit1/malloc_ulimit1.c b/regress/lib/libc/malloc/malloc_ulimit1/malloc_ulimit1.c index faa98c7bd62..99e805e8e18 100644 --- a/regress/lib/libc/malloc/malloc_ulimit1/malloc_ulimit1.c +++ b/regress/lib/libc/malloc/malloc_ulimit1/malloc_ulimit1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: malloc_ulimit1.c,v 1.1 2006/04/18 19:03:30 otto Exp $ */ +/* $OpenBSD: malloc_ulimit1.c,v 1.2 2006/05/16 05:47:13 otto Exp $ */ /* Public Domain, 2006, Otto Moerbeek */ @@ -40,4 +40,5 @@ main() free(p); free(malloc(4096)); } + return (0); } diff --git a/regress/lib/libc/malloc/malloc_ulimit2/malloc_ulimit2.c b/regress/lib/libc/malloc/malloc_ulimit2/malloc_ulimit2.c index 6c3fbbcb561..ca8e8f438a2 100644 --- a/regress/lib/libc/malloc/malloc_ulimit2/malloc_ulimit2.c +++ b/regress/lib/libc/malloc/malloc_ulimit2/malloc_ulimit2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: malloc_ulimit2.c,v 1.1 2006/04/18 19:04:03 otto Exp $ */ +/* $OpenBSD: malloc_ulimit2.c,v 1.2 2006/05/16 05:47:13 otto Exp $ */ /* Public Domain, 2006, Otto Moerbeek */ @@ -38,4 +38,5 @@ main() free(p); free(malloc(4096)); } + return (0); } -- cgit v1.2.3