summaryrefslogtreecommitdiff
path: root/regress/lib/libc/malloc
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2006-05-16 05:47:14 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2006-05-16 05:47:14 +0000
commit501a72415a099472ff6601d54b9272a7d9da70b5 (patch)
treeb7743e49b50390054472af04998128c351674080 /regress/lib/libc/malloc
parentf4b5f73ebc19edd502504313daf4c793dde532fb (diff)
Don't forget to return 0 on success, doh.
Diffstat (limited to 'regress/lib/libc/malloc')
-rw-r--r--regress/lib/libc/malloc/malloc_ulimit1/malloc_ulimit1.c3
-rw-r--r--regress/lib/libc/malloc/malloc_ulimit2/malloc_ulimit2.c3
2 files changed, 4 insertions, 2 deletions
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 <otto@drijf.net> */
@@ -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 <otto@drijf.net> */
@@ -38,4 +38,5 @@ main()
free(p);
free(malloc(4096));
}
+ return (0);
}