summaryrefslogtreecommitdiff
path: root/regress/lib/libc/malloc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-08-15 23:13:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-08-15 23:13:08 +0000
commitdb0bc3759f980cdc899215e89804bd0e2f2369d8 (patch)
tree1940da755573d9979784e03a77fdbfa167498429 /regress/lib/libc/malloc
parent3a5ca0b5fae2904ddbce7f3f19d23a8eafbcfc25 (diff)
remove extra \n in {warn,err}{,x} calls
Diffstat (limited to 'regress/lib/libc/malloc')
-rw-r--r--regress/lib/libc/malloc/malloc_errno/malloc_errno.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/lib/libc/malloc/malloc_errno/malloc_errno.c b/regress/lib/libc/malloc/malloc_errno/malloc_errno.c
index 1232dd660d8..7f77544665b 100644
--- a/regress/lib/libc/malloc/malloc_errno/malloc_errno.c
+++ b/regress/lib/libc/malloc/malloc_errno/malloc_errno.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: malloc_errno.c,v 1.2 2003/07/31 21:48:03 deraadt Exp $ */
+/* $OpenBSD: malloc_errno.c,v 1.3 2003/08/15 23:13:07 deraadt Exp $ */
/*
* Public domain. 2003, Otto Moerbeek
*/
@@ -16,11 +16,11 @@ testerrno(size_t sz)
p = malloc(sz);
if (p == NULL && errno != ENOMEM)
- errx(1, "fail: %lx %p %d\n", (unsigned long)sz, p, errno);
+ errx(1, "fail: %lx %p %d", (unsigned long)sz, p, errno);
/* if alloc succeeded, test if errno did not change */
if (p != NULL && errno != -1)
- errx(1, "fail: %lx %p %d\n", (unsigned long)sz, p, errno);
+ errx(1, "fail: %lx %p %d", (unsigned long)sz, p, errno);
free(p);
}