diff options
author | bcook <bcook@cvs.openbsd.org> | 2014-07-28 04:17:08 +0000 |
---|---|---|
committer | bcook <bcook@cvs.openbsd.org> | 2014-07-28 04:17:08 +0000 |
commit | 26255ef078f0fa147dc4cb3b736161856c10826e (patch) | |
tree | 78ab6241e045afc8f75cb7fb22c318778b6f338f /regress/lib | |
parent | 4cea4ee466762c36abe7a38dfa65b01333639ddd (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.c | 3 |
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 |