diff options
author | 2002-09-11 23:41:23 +0000 | |
---|---|---|
committer | 2002-09-11 23:41:23 +0000 | |
commit | 689157f799ff1361f9dfb4362542f7e0ef7902bc (patch) | |
tree | 1792409690a76336fbafb9ee08e2de6dff2a5539 | |
parent | kill annoying trailing spaces (in hope it fixes /0 for me) (diff) | |
download | wireguard-openbsd-689157f799ff1361f9dfb4362542f7e0ef7902bc.tar.xz wireguard-openbsd-689157f799ff1361f9dfb4362542f7e0ef7902bc.zip |
errx is a proper function here
-rw-r--r-- | regress/sys/kern/mmap2/mmaptest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/sys/kern/mmap2/mmaptest.c b/regress/sys/kern/mmap2/mmaptest.c index 08829331793..94cc19c414a 100644 --- a/regress/sys/kern/mmap2/mmaptest.c +++ b/regress/sys/kern/mmap2/mmaptest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mmaptest.c,v 1.3 2002/02/18 15:24:18 art Exp $ */ +/* $OpenBSD: mmaptest.c,v 1.4 2002/09/11 23:41:23 mickey Exp $ */ /* * Written by Artur Grabowski <art@openbsd.org>, 2001 Public Domain */ @@ -55,13 +55,13 @@ main() memcpy(v1, MAGIC, sizeof(MAGIC)); if (memcmp(v2, MAGIC, sizeof(MAGIC)) != 0) - err(1, "comparsion 1 failed"); + errx(1, "comparsion 1 failed"); if (memcmp(v1, v2, sizeof(MAGIC)) != 0) - err(1, "comparsion 2 failed"); + errx(1, "comparsion 2 failed"); if (munmap(v1, 2 * page_size) < 0) - err(1, "munmap"); + errx(1, "munmap"); close(fd); |