summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorbcook <bcook@cvs.openbsd.org>2014-07-28 04:17:08 +0000
committerbcook <bcook@cvs.openbsd.org>2014-07-28 04:17:08 +0000
commit26255ef078f0fa147dc4cb3b736161856c10826e (patch)
tree78ab6241e045afc8f75cb7fb22c318778b6f338f /regress/lib
parent4cea4ee466762c36abe7a38dfa65b01333639ddd (diff)
remove non-portable __progname extern from arc4random unit test.
ok @deraadt
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libc/arc4random-fork/arc4random-fork.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/regress/lib/libc/arc4random-fork/arc4random-fork.c b/regress/lib/libc/arc4random-fork/arc4random-fork.c
index 7152e5a3e75..c1e87d21c9e 100644
--- a/regress/lib/libc/arc4random-fork/arc4random-fork.c
+++ b/regress/lib/libc/arc4random-fork/arc4random-fork.c
@@ -69,8 +69,7 @@ fillbuf(Buf *buf)
static void
usage()
{
- extern const char *__progname;
- errx(1, "usage: %s [-bp]", __progname);
+ errx(1, "usage: arc4random-fork [-bp]");
}
static pid_t