summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-02-11 19:47:59 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-02-11 19:47:59 +0000
commit0eb3be85346e3b112d0845aaf20464f8ccfafb6f (patch)
tree30325ceae98f68b8eb80c1680afd8f4bd28db074
parent51e75b4009685ca51dfde55c04d18be84d2738ac (diff)
change to errx(3)
-rw-r--r--regress/libexec/ld.so/weak/prog/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/libexec/ld.so/weak/prog/main.c b/regress/libexec/ld.so/weak/prog/main.c
index 6964eb3ffdb..9be546b0d09 100644
--- a/regress/libexec/ld.so/weak/prog/main.c
+++ b/regress/libexec/ld.so/weak/prog/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.1 2002/02/10 22:51:41 fgsch Exp $ */
+/* $OpenBSD: main.c,v 1.2 2002/02/11 19:47:58 fgsch Exp $ */
/*
* Public domain. 2002, Federico Schwindt <fgsch@openbsd.org>.
@@ -11,10 +11,10 @@ int
main(int argc, char **argv)
{
if (weak_func() != WEAK_REF)
- err(1, "error calling weak reference");
+ errx(1, "error calling weak reference");
if (func() != STRONG_REF)
- err(1, "error calling strong reference");
+ errx(1, "error calling strong reference");
return (0);
}