From 782252fc8707defaacb647af8795dedac318c7df Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Fri, 15 Aug 2003 23:13:07 +0000 Subject: remove extra \n in {warn,err}{,x} calls --- src/regress/lib/libc/malloc/malloc_errno/malloc_errno.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/regress/lib/libc/malloc/malloc_errno/malloc_errno.c b/src/regress/lib/libc/malloc/malloc_errno/malloc_errno.c index 1232dd660d..7f77544665 100644 --- a/src/regress/lib/libc/malloc/malloc_errno/malloc_errno.c +++ b/src/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); } -- cgit v1.2.3-55-g6feb